Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

vigigraph / setup.py @ a6ff3867

History | View | Annotate | Download (1.94 KB)

1
# -*- coding: utf-8 -*-
2
# vim:set expandtab tabstop=4 shiftwidth=4:
3
import os
4
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
sysconfdir = os.getenv("SYSCONFDIR", "/etc")
12

    
13
tests_require = [
14
    'WebTest',
15
    'BeautifulSoup',
16
    'coverage',
17
]
18

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

    
62
    entry_points="""
63
    [paste.app_factory]
64
    main = vigigraph.config.middleware:make_app
65

66
    [paste.app_install]
67
    main = pylons.util:PylonsInstaller
68

69
    [console_scripts]
70
    vigigraph-init-db = vigigraph.websetup:init_db
71
    """,
72
    data_files=[
73
        (os.path.join(sysconfdir, 'vigilo/vigimap/'), [
74
            'deployment/vigimap.conf',
75
            'deployment/vigimap.wsgi',
76
            'deployment/settings.ini',
77
        ]),
78
    ],
79
)