vigigraph / setup.py @ ef33a10f
History | View | Annotate | Download (1.72 KB)
1 |
# -*- coding: utf-8 -*-
|
---|---|
2 |
# vim:set expandtab tabstop=4 shiftwidth=4:
|
3 |
import os |
4 |
try:
|
5 |
from setuptools import setup, find_packages |
6 |
except ImportError: |
7 |
from ez_setup import use_setuptools |
8 |
use_setuptools() |
9 |
from setuptools import setup, find_packages |
10 |
|
11 |
sysconfdir = os.getenv("SYSCONFDIR", "/etc") |
12 |
|
13 |
tests_require = [ |
14 |
'WebTest',
|
15 |
'BeautifulSoup',
|
16 |
'coverage',
|
17 |
] |
18 |
|
19 |
setup( |
20 |
name='vigigraph',
|
21 |
version='2.0.0',
|
22 |
description='',
|
23 |
author='Vigilo Team',
|
24 |
author_email='contact@projet-vigilo.org',
|
25 |
#url='',
|
26 |
license='http://www.gnu.org/licenses/gpl-2.0.html',
|
27 |
install_requires=[ |
28 |
"vigilo-turbogears",
|
29 |
], |
30 |
paster_plugins=['PasteScript', 'Pylons', 'TurboGears2', 'tg.devtools'], |
31 |
packages=find_packages(exclude=['ez_setup']),
|
32 |
include_package_data=True,
|
33 |
test_suite='nose.collector',
|
34 |
tests_require=tests_require, |
35 |
extras_require={ |
36 |
'tests': tests_require,
|
37 |
}, |
38 |
package_data={ |
39 |
'vigigraph': [
|
40 |
'i18n/*/LC_MESSAGES/*.mo',
|
41 |
'templates/*/*',
|
42 |
'public/js/*.js',
|
43 |
# 'public/*/*',
|
44 |
], |
45 |
}, |
46 |
message_extractors={ |
47 |
'vigigraph': [
|
48 |
('**.py', 'python', None), |
49 |
], |
50 |
}, |
51 |
|
52 |
entry_points={ |
53 |
'paste.app_factory': [
|
54 |
'main = vigigraph.config.middleware:make_app',
|
55 |
], |
56 |
'paste.app_install': [
|
57 |
'main = pylons.util:PylonsInstaller',
|
58 |
], |
59 |
'vigilo.models': [
|
60 |
'populate_db = vigigraph.websetup:populate_db',
|
61 |
], |
62 |
}, |
63 |
|
64 |
data_files=[ |
65 |
(os.path.join(sysconfdir, 'vigilo/vigigraph/'), [
|
66 |
'deployment/vigigraph.conf',
|
67 |
'deployment/vigigraph.wsgi',
|
68 |
'deployment/settings.ini',
|
69 |
]), |
70 |
], |
71 |
) |