vigiboard / setup.py @ df25ac35
History | View | Annotate | Download (1.67 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={'vigiboard': [
|
50 |
('**.py', 'python', None), |
51 |
]}, |
52 |
|
53 |
entry_points={ |
54 |
'paste.app_factory': [
|
55 |
'main = vigiboard.config.middleware:make_app',
|
56 |
], |
57 |
'paste.app_install': [
|
58 |
'main = pylons.util:PylonsInstaller',
|
59 |
], |
60 |
'console_scripts': [
|
61 |
'vigiboard-init-db = vigiboard.websetup:init_db',
|
62 |
], |
63 |
}, |
64 |
data_files=[ |
65 |
(os.path.join(sysconfdir, 'vigilo/vigiboard/'), [
|
66 |
'deployment/vigiboard.conf',
|
67 |
'deployment/vigiboard.wsgi',
|
68 |
'deployment/settings.ini',
|
69 |
]), |
70 |
], |
71 |
) |
72 |
|