Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

vigigraph / setup.py @ f665ad51

History | View | Annotate | Download (1.68 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='2.0.0',
19
    description='',
20
    author='Vigilo Team',
21
    author_email='contact@projet-vigilo.org',
22
    #url='',
23
    license='http://www.gnu.org/licenses/gpl-2.0.html',
24
    install_requires=[
25
        "tg.devtools",
26
        "TurboGears2 >= 2.0b7",
27
        "Catwalk >= 2.0.2",
28
        "Babel >=0.9.4",
29
        #can be removed iif use_toscawidgets = False
30
        "ToscaWidgets >= 0.9.7.1",
31
        "vigilo-models",
32
        "vigilo-themes-default",
33
        "vigilo-turbogears",
34
        ],
35
    paster_plugins=['PasteScript', 'Pylons', 'TurboGears2', 'tg.devtools'],
36
    packages=find_packages(exclude=['ez_setup']),
37
    include_package_data=True,
38
    test_suite='nose.collector',
39
    tests_require=tests_require,
40
    extras_require={
41
        'tests': tests_require,
42
    },
43
    package_data={
44
        'vigigraph': [
45
            'i18n/*/LC_MESSAGES/*.mo',
46
            'templates/*/*',
47
#            'public/*/*',
48
        ],
49
    },
50
    message_extractors={
51
        'vigigraph': [
52
            ('**.py', 'python', None),
53
        ],
54
        '../turbogears/src': [
55
            ('**.py', 'python', None),
56
        ],
57
    },
58

    
59
    entry_points="""
60
    [paste.app_factory]
61
    main = vigigraph.config.middleware:make_app
62

63
    [paste.app_install]
64
    main = pylons.util:PylonsInstaller
65

66
    [console_scripts]
67
    vigigraph-init-db = vigigraph.websetup:init_db
68
    """,
69
)