Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

vigigraph / setup.py @ 0f317fa6

History | View | Annotate | Download (1.93 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
sysconfdir = os.getenv("SYSCONFDIR", "/etc")
11

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

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

    
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

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