vigiboard / setup.py @ 2e753457
History | View | Annotate | Download (1.69 KB)
1 | 5dbfa80d | Francois POIROTTE | #!/usr/bin/env python
|
---|---|---|---|
2 | 49c8da1d | Thomas ANDREJAK | # -*- coding: utf-8 -*-
|
3 | d41c3589 | Gabriel DE PERTHUIS | # vim:set expandtab tabstop=4 shiftwidth=4:
|
4 | a43ec272 | Aurelien BOMPARD | |
5 | import os |
||
6 | |||
7 | 49c8da1d | Thomas ANDREJAK | try:
|
8 | from setuptools import setup, find_packages |
||
9 | except ImportError: |
||
10 | from ez_setup import use_setuptools |
||
11 | use_setuptools() |
||
12 | from setuptools import setup, find_packages |
||
13 | |||
14 | 9265bd60 | Francois POIROTTE | tests_require = [ |
15 | 'WebTest',
|
||
16 | 'BeautifulSoup',
|
||
17 | 'lxml',
|
||
18 | 5d20c2c5 | Francois POIROTTE | 'coverage',
|
19 | 9265bd60 | Francois POIROTTE | ] |
20 | d4656036 | Gabriel DE PERTHUIS | |
21 | a43ec272 | Aurelien BOMPARD | sysconfdir = os.getenv("SYSCONFDIR", "/etc") |
22 | |||
23 | 49c8da1d | Thomas ANDREJAK | setup( |
24 | name='vigiboard',
|
||
25 | d47b4c3d | Aurelien BOMPARD | version='2.0.0',
|
26 | 23bfcb80 | Francois POIROTTE | description='IHM Module for the Dashboard',
|
27 | 4dabc344 | Francois POIROTTE | author='Vigilo Team',
|
28 | author_email='contact@projet-vigilo.org',
|
||
29 | 23bfcb80 | Francois POIROTTE | zip_safe=False,
|
30 | 5dbfa80d | Francois POIROTTE | license='http://www.gnu.org/licenses/gpl-2.0.html',
|
31 | b3c692c6 | Francois POIROTTE | url='http://www.projet-vigilo.org/',
|
32 | 49c8da1d | Thomas ANDREJAK | install_requires=[ |
33 | 10848680 | Francois POIROTTE | "vigilo-turbogears",
|
34 | 5dbfa80d | Francois POIROTTE | "tw.forms",
|
35 | 15636990 | Francois POIROTTE | ], |
36 | 23bfcb80 | Francois POIROTTE | |
37 | 49c8da1d | Thomas ANDREJAK | packages=find_packages(exclude=['ez_setup']),
|
38 | include_package_data=True,
|
||
39 | test_suite='nose.collector',
|
||
40 | d4656036 | Gabriel DE PERTHUIS | tests_require=tests_require, |
41 | extras_require={ |
||
42 | 'tests': tests_require,
|
||
43 | 15636990 | Francois POIROTTE | }, |
44 | 5dbfa80d | Francois POIROTTE | package_data={ |
45 | 'vigiboard': [
|
||
46 | 6f56e540 | Francois POIROTTE | 'i18n/*/LC_MESSAGES/*.mo',
|
47 | 5dbfa80d | Francois POIROTTE | ], |
48 | }, |
||
49 | 3be9e517 | Francois POIROTTE | message_extractors={ |
50 | 'vigiboard': [
|
||
51 | ('**.py', 'python', None), |
||
52 | ], |
||
53 | }, |
||
54 | 49c8da1d | Thomas ANDREJAK | |
55 | d4656036 | Gabriel DE PERTHUIS | entry_points={ |
56 | 'paste.app_factory': [
|
||
57 | 'main = vigiboard.config.middleware:make_app',
|
||
58 | 15636990 | Francois POIROTTE | ], |
59 | d4656036 | Gabriel DE PERTHUIS | 'paste.app_install': [
|
60 | 'main = pylons.util:PylonsInstaller',
|
||
61 | 15636990 | Francois POIROTTE | ], |
62 | ce03ddca | Francois POIROTTE | 'vigilo.models': [
|
63 | 'populate_db = vigiboard.websetup:populate_db',
|
||
64 | 5dbfa80d | Francois POIROTTE | ], |
65 | 15636990 | Francois POIROTTE | }, |
66 | 5dbfa80d | Francois POIROTTE | data_files=[ |
67 | a43ec272 | Aurelien BOMPARD | (os.path.join(sysconfdir, 'vigilo/vigiboard/'), [
|
68 | 5dbfa80d | Francois POIROTTE | 'deployment/vigiboard.conf',
|
69 | 'deployment/vigiboard.wsgi',
|
||
70 | 'deployment/settings.ini',
|
||
71 | ]), |
||
72 | ], |
||
73 | 49c8da1d | Thomas ANDREJAK | ) |