Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

vigigraph / setup.py @ 5772efa1

History | View | Annotate | Download (1.64 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='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
#            ('public/**', 'ignore', None),
54
        ],
55
    },
56

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

61
    [paste.app_install]
62
    main = pylons.util:PylonsInstaller
63

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