-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
36 lines (33 loc) · 1.26 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
# -*- 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',
]
)
]
toplevel = 'src/'
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 = find_packages(toplevel),
package_dir = {'': toplevel},
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,
)