vigigraph / setup.py @ ef33a10f
History | View | Annotate | Download (1.72 KB)
1 | 0931fc44 | Thomas BURGUIERE | # -*- coding: utf-8 -*-
|
---|---|---|---|
2 | 98c1bcf7 | Thomas BURGUIERE | # vim:set expandtab tabstop=4 shiftwidth=4:
|
3 | a6ff3867 | Aurelien BOMPARD | import os |
4 | 0931fc44 | Thomas BURGUIERE | 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 | 0f317fa6 | Aurelien BOMPARD | sysconfdir = os.getenv("SYSCONFDIR", "/etc") |
12 | |||
13 | 4964dc96 | Vincent QUEMENER | tests_require = [ |
14 | 'WebTest',
|
||
15 | 'BeautifulSoup',
|
||
16 | 'coverage',
|
||
17 | ] |
||
18 | |||
19 | 0931fc44 | Thomas BURGUIERE | setup( |
20 | name='vigigraph',
|
||
21 | 8f92b47d | Aurelien BOMPARD | version='2.0.0',
|
22 | 0931fc44 | Thomas BURGUIERE | description='',
|
23 | cfb90e56 | Francois POIROTTE | author='Vigilo Team',
|
24 | author_email='contact@projet-vigilo.org',
|
||
25 | 0931fc44 | Thomas BURGUIERE | #url='',
|
26 | cfb90e56 | Francois POIROTTE | license='http://www.gnu.org/licenses/gpl-2.0.html',
|
27 | 0931fc44 | Thomas BURGUIERE | install_requires=[ |
28 | 029ee76e | Thomas BURGUIERE | "vigilo-turbogears",
|
29 | 98c1bcf7 | Thomas BURGUIERE | ], |
30 | 0931fc44 | Thomas BURGUIERE | 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 | 4964dc96 | Vincent QUEMENER | tests_require=tests_require, |
35 | extras_require={ |
||
36 | 'tests': tests_require,
|
||
37 | }, |
||
38 | cfb90e56 | Francois POIROTTE | package_data={ |
39 | 'vigigraph': [
|
||
40 | 'i18n/*/LC_MESSAGES/*.mo',
|
||
41 | 'templates/*/*',
|
||
42 | eaf8a7bd | Aurelien BOMPARD | 'public/js/*.js',
|
43 | cfb90e56 | Francois POIROTTE | # 'public/*/*',
|
44 | ], |
||
45 | }, |
||
46 | message_extractors={ |
||
47 | 'vigigraph': [
|
||
48 | 0931fc44 | Thomas BURGUIERE | ('**.py', 'python', None), |
49 | f665ad51 | Francois POIROTTE | ], |
50 | cfb90e56 | Francois POIROTTE | }, |
51 | 0931fc44 | Thomas BURGUIERE | |
52 | 945bd396 | Francois POIROTTE | 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 | 43e9f440 | Francois POIROTTE | |
64 | 0f317fa6 | Aurelien BOMPARD | data_files=[ |
65 | eaf8a7bd | Aurelien BOMPARD | (os.path.join(sysconfdir, 'vigilo/vigigraph/'), [
|
66 | 'deployment/vigigraph.conf',
|
||
67 | 'deployment/vigigraph.wsgi',
|
||
68 | 0f317fa6 | Aurelien BOMPARD | 'deployment/settings.ini',
|
69 | ]), |
||
70 | ], |
||
71 | 0931fc44 | Thomas BURGUIERE | ) |