Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

vigigraph / setup.py @ 0f317fa6

History | View | Annotate | Download (1.93 KB)

1 0931fc44 Thomas BURGUIERE
# -*- coding: utf-8 -*-
2 98c1bcf7 Thomas BURGUIERE
# vim:set expandtab tabstop=4 shiftwidth=4:
3 0931fc44 Thomas BURGUIERE
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 0f317fa6 Aurelien BOMPARD
sysconfdir = os.getenv("SYSCONFDIR", "/etc")
11
12 4964dc96 Vincent QUEMENER
tests_require = [
13
    'WebTest',
14
    'BeautifulSoup',
15
    'coverage',
16
]
17
18 0931fc44 Thomas BURGUIERE
setup(
19
    name='vigigraph',
20 8f92b47d Aurelien BOMPARD
    version='2.0.0',
21 0931fc44 Thomas BURGUIERE
    description='',
22 cfb90e56 Francois POIROTTE
    author='Vigilo Team',
23
    author_email='contact@projet-vigilo.org',
24 0931fc44 Thomas BURGUIERE
    #url='',
25 cfb90e56 Francois POIROTTE
    license='http://www.gnu.org/licenses/gpl-2.0.html',
26 0931fc44 Thomas BURGUIERE
    install_requires=[
27 316281de Thomas BURGUIERE
        "tg.devtools",
28 0931fc44 Thomas BURGUIERE
        "TurboGears2 >= 2.0b7",
29
        "Catwalk >= 2.0.2",
30
        "Babel >=0.9.4",
31
        #can be removed iif use_toscawidgets = False
32 4cdb7492 Thomas BURGUIERE
        "ToscaWidgets >= 0.9.7.1",
33 98c1bcf7 Thomas BURGUIERE
        "vigilo-models",
34
        "vigilo-themes-default",
35 029ee76e Thomas BURGUIERE
        "vigilo-turbogears",
36 98c1bcf7 Thomas BURGUIERE
        ],
37 0931fc44 Thomas BURGUIERE
    paster_plugins=['PasteScript', 'Pylons', 'TurboGears2', 'tg.devtools'],
38
    packages=find_packages(exclude=['ez_setup']),
39
    include_package_data=True,
40
    test_suite='nose.collector',
41 4964dc96 Vincent QUEMENER
    tests_require=tests_require,
42
    extras_require={
43
        'tests': tests_require,
44
    },
45 cfb90e56 Francois POIROTTE
    package_data={
46
        'vigigraph': [
47
            'i18n/*/LC_MESSAGES/*.mo',
48
            'templates/*/*',
49
#            'public/*/*',
50
        ],
51
    },
52
    message_extractors={
53
        'vigigraph': [
54 0931fc44 Thomas BURGUIERE
            ('**.py', 'python', None),
55 f665ad51 Francois POIROTTE
        ],
56
        '../turbogears/src': [
57
            ('**.py', 'python', None),
58 cfb90e56 Francois POIROTTE
        ],
59
    },
60 0931fc44 Thomas BURGUIERE
61
    entry_points="""
62
    [paste.app_factory]
63
    main = vigigraph.config.middleware:make_app
64

65
    [paste.app_install]
66
    main = pylons.util:PylonsInstaller
67 43e9f440 Francois POIROTTE

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