vigiboard / setup.py @ 4a156063
History | View | Annotate | Download (1.77 KB)
1 |
#!/usr/bin/env python
|
---|---|
2 |
# -*- coding: utf-8 -*-
|
3 |
# vim:set expandtab tabstop=4 shiftwidth=4:
|
4 |
|
5 |
import os |
6 |
|
7 |
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 |
tests_require = [ |
15 |
'WebTest',
|
16 |
'BeautifulSoup',
|
17 |
'lxml',
|
18 |
'coverage',
|
19 |
] |
20 |
|
21 |
sysconfdir = os.getenv("SYSCONFDIR", "/etc") |
22 |
|
23 |
setup( |
24 |
name='vigiboard',
|
25 |
version='2.0.0',
|
26 |
description='IHM Module for the Dashboard',
|
27 |
author='Vigilo Team',
|
28 |
author_email='contact@projet-vigilo.org',
|
29 |
zip_safe=False,
|
30 |
license='http://www.gnu.org/licenses/gpl-2.0.html',
|
31 |
url='http://www.projet-vigilo.org/',
|
32 |
install_requires=[ |
33 |
"vigilo-turbogears",
|
34 |
"tw.forms",
|
35 |
], |
36 |
|
37 |
packages=find_packages(exclude=['ez_setup']),
|
38 |
include_package_data=True,
|
39 |
test_suite='nose.collector',
|
40 |
tests_require=tests_require, |
41 |
extras_require={ |
42 |
'tests': tests_require,
|
43 |
}, |
44 |
package_data={ |
45 |
'vigiboard': [
|
46 |
'i18n/*/LC_MESSAGES/*.mo',
|
47 |
], |
48 |
}, |
49 |
message_extractors={ |
50 |
'vigiboard': [
|
51 |
('**.py', 'python', None), |
52 |
], |
53 |
'../turbogears/src': [
|
54 |
('**.py', 'python', None), |
55 |
], |
56 |
}, |
57 |
|
58 |
entry_points={ |
59 |
'paste.app_factory': [
|
60 |
'main = vigiboard.config.middleware:make_app',
|
61 |
], |
62 |
'paste.app_install': [
|
63 |
'main = pylons.util:PylonsInstaller',
|
64 |
], |
65 |
'vigilo.models': [
|
66 |
'populate_db = vigiboard.websetup:populate_db',
|
67 |
], |
68 |
}, |
69 |
data_files=[ |
70 |
(os.path.join(sysconfdir, 'vigilo/vigiboard/'), [
|
71 |
'deployment/vigiboard.conf',
|
72 |
'deployment/vigiboard.wsgi',
|
73 |
'deployment/settings.ini',
|
74 |
]), |
75 |
], |
76 |
) |
77 |
|