Revision 4964dc96
Déplacement de la configuration dans des fichiers .ini (development.ini + test.ini) afin de pouvoir supprimer les fichiers .py
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@1955 b22e2e97-25c9-44ff-b637-2e5ceca36478
setup.py | ||
---|---|---|
7 | 7 |
use_setuptools() |
8 | 8 |
from setuptools import setup, find_packages |
9 | 9 |
|
10 |
tests_require = [ |
|
11 |
'WebTest', |
|
12 |
'BeautifulSoup', |
|
13 |
'coverage', |
|
14 |
] |
|
15 |
|
|
10 | 16 |
setup( |
11 | 17 |
name='vigigraph', |
12 | 18 |
version='0.1', |
... | ... | |
21 | 27 |
"Babel >=0.9.4", |
22 | 28 |
#can be removed iif use_toscawidgets = False |
23 | 29 |
"ToscaWidgets >= 0.9.7.1", |
24 |
"zope.sqlalchemy >= 0.4 ", |
|
25 |
"repoze.tm2 >= 1.0a4", |
|
26 |
"repoze.what-quickstart >= 1.0", |
|
27 |
"psycopg2", |
|
28 | 30 |
"vigilo-models", |
29 | 31 |
"vigilo-themes-default", |
30 | 32 |
"vigilo-turbogears", |
31 |
"PasteScript >= 1.7", # setup_requires has issues |
|
32 |
"PasteDeploy", |
|
33 |
"Paste", |
|
34 |
"decorator != 3.1.0", # Blacklist bad version |
|
35 | 33 |
], |
36 | 34 |
paster_plugins=['PasteScript', 'Pylons', 'TurboGears2', 'tg.devtools'], |
37 | 35 |
packages=find_packages(exclude=['ez_setup']), |
38 | 36 |
include_package_data=True, |
39 | 37 |
test_suite='nose.collector', |
40 |
tests_require=['WebTest', 'BeautifulSoup'], |
|
38 |
tests_require=tests_require, |
|
39 |
extras_require={ |
|
40 |
'tests': tests_require, |
|
41 |
}, |
|
41 | 42 |
package_data={'vigigraph': ['i18n/*/LC_MESSAGES/*.mo', |
42 | 43 |
'templates/*/*', |
43 | 44 |
'public/*/*']}, |
Also available in: Unified diff