forked from CroissanceCommune/autonomie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (51 loc) · 1.82 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/usr/bin/env python
import os
from setuptools import setup
from setuptools import find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
with open(os.path.join(here, 'requirements.txt')) as f:
install_reqs = f.read()
with open(os.path.join(here, 'CURRENT_VERSION')) as f:
current_version = f.read().splitlines()[0].strip()
entry_points = {
"paste.app_factory": ["main=autonomie:main", ],
"console_scripts": [
"autonomie-migrate = autonomie.scripts:migrate",
"autonomie-admin = autonomie.scripts:autonomie_admin_cmd",
"autonomie-mail = autonomie.scripts.mail_files:mail_cmd",
"autonomie-fake = autonomie.scripts:autonomie_fake_cmd",
"autonomie-cache = autonomie.scripts:cache_cmd",
"autonomie-export = autonomie.scripts:export_cmd",
],
"fanstatic.libraries": ["autonomie = autonomie.resources:lib_autonomie"]
}
setup(
name='autonomie',
version=current_version,
description="Progiciel de gestion pour CAE",
long_description=README,
classifiers=[
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author='Majerti',
author_email="tech@majerti.fr",
url="http://autonomie.coop",
keywords="pyramid,business,web",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=install_reqs,
tests_require=['pytest', 'WebTest', "Mock"],
extras_require={
'dev': ['libsass', 'sphinx', 'pyramid_debugtoolbar'],
},
setup_requires=[],
test_suite="autonomie.tests",
entry_points=entry_points,
)