forked from OpenSlides/OpenSlides
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (38 loc) · 1.66 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
#!/usr/bin/env python
from setuptools import find_packages, setup
from openslides import __author__ as openslides_author
from openslides import __description__ as openslides_description
from openslides import __version__ as openslides_version
from openslides import __license__ as openslides_license
from openslides import __url__ as openslides_url
with open('README.rst') as readme:
long_description = readme.read()
with open('requirements/production.txt') as requirements_production:
install_requires = requirements_production.readlines()
with open('requirements/big_mode.txt') as requirements_big_mode:
extras_requires = requirements_big_mode.readlines()
setup(
name='openslides',
author=openslides_author,
author_email='[email protected]',
description=openslides_description,
license=openslides_license,
long_description=long_description,
url=openslides_url,
version=openslides_version,
classifiers=[
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
# 'Development Status :: 3 - Alpha',
'Development Status :: 4 - Beta',
# 'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', ],
packages=find_packages(exclude=['tests', 'tests.*']),
include_package_data=True,
install_requires=install_requires,
extras_require={'big_mode': extras_requires},
entry_points={'console_scripts': ['openslides = openslides.__main__:main']})