vigigraph / setup.py @ 4964dc96
History | View | Annotate | Download (1.63 KB)
1 |
# -*- coding: utf-8 -*-
|
---|---|
2 |
# vim:set expandtab tabstop=4 shiftwidth=4:
|
3 |
try:
|
4 |
from setuptools import setup, find_packages |
5 |
except ImportError: |
6 |
from ez_setup import use_setuptools |
7 |
use_setuptools() |
8 |
from setuptools import setup, find_packages |
9 |
|
10 |
tests_require = [ |
11 |
'WebTest',
|
12 |
'BeautifulSoup',
|
13 |
'coverage',
|
14 |
] |
15 |
|
16 |
setup( |
17 |
name='vigigraph',
|
18 |
version='0.1',
|
19 |
description='',
|
20 |
author='',
|
21 |
author_email='',
|
22 |
#url='',
|
23 |
install_requires=[ |
24 |
"tg.devtools",
|
25 |
"TurboGears2 >= 2.0b7",
|
26 |
"Catwalk >= 2.0.2",
|
27 |
"Babel >=0.9.4",
|
28 |
#can be removed iif use_toscawidgets = False
|
29 |
"ToscaWidgets >= 0.9.7.1",
|
30 |
"vigilo-models",
|
31 |
"vigilo-themes-default",
|
32 |
"vigilo-turbogears",
|
33 |
], |
34 |
paster_plugins=['PasteScript', 'Pylons', 'TurboGears2', 'tg.devtools'], |
35 |
packages=find_packages(exclude=['ez_setup']),
|
36 |
include_package_data=True,
|
37 |
test_suite='nose.collector',
|
38 |
tests_require=tests_require, |
39 |
extras_require={ |
40 |
'tests': tests_require,
|
41 |
}, |
42 |
package_data={'vigigraph': ['i18n/*/LC_MESSAGES/*.mo', |
43 |
'templates/*/*',
|
44 |
'public/*/*']},
|
45 |
message_extractors={'vigigraph': [
|
46 |
('**.py', 'python', None), |
47 |
('templates/**.mako', 'mako', None), |
48 |
('templates/**.html', 'genshi', None), |
49 |
('public/**', 'ignore', None)]}, |
50 |
|
51 |
entry_points="""
|
52 |
[paste.app_factory]
|
53 |
main = vigigraph.config.middleware:make_app
|
54 |
|
55 |
[paste.app_install]
|
56 |
main = pylons.util:PylonsInstaller
|
57 |
|
58 |
[console_scripts]
|
59 |
vigigraph-init-db = vigigraph.websetup:init_db
|
60 |
""",
|
61 |
) |