forked from MeeGoIntegration/imager
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
44 lines (41 loc) · 1.6 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# -*- coding: utf-8 -*-
import os, sys
from distutils.core import setup
from setuptools import find_packages
static_files=[('/etc/imager', ['src/img_web/img.conf']),
('/usr/share/img_web/processes',
['src/img_web/processes/CREATE_IMAGE',
'src/img_web/processes/NOTIFY_IMAGE',
'src/img_web/processes/TEST_IMAGE',
'src/img_web/processes/DELETE_IMAGE',
'src/img_web/processes/UPDATE_STATUS'
]
)
]
setup(
name = "img",
version = "0.6.0",
url = 'http://meego.gitorious.org/meego-infrastructure-tools/imger',
license = 'GPLv2',
description = "Meego Image creation service",
author = 'Aleksi Suomalainen <[email protected]>',
packages = ['img',
'img_web',
'img_web.app',
'img_web.app.templatetags',
'img_web.utils'
],
package_dir = {'' : 'src'},
package_data = { 'img_web' : ['templates/*.html',
'templates/app/*.html',
'templates/registration/*.html',
],
'img_web.app' : ['static/*.*',
'static/images/*.*',
'static/images/formset/*.*',
'static/js/*.*',
'fixtures/*.*'
]
},
data_files = static_files,
)