OpenSlides/setup.py

48 lines
1.7 KiB
Python
Raw Normal View History

2012-04-25 22:29:19 +02:00
#!/usr/bin/env python
from setuptools import find_packages, setup
2012-02-09 16:57:10 +01:00
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
2019-12-11 16:12:58 +01:00
with open("README.rst") as readme:
2013-04-25 13:10:50 +02:00
long_description = readme.read()
2019-12-11 16:12:58 +01:00
with open("requirements/production.txt") as requirements_production:
install_requires = requirements_production.readlines()
2019-12-11 16:12:58 +01:00
with open("requirements/big_mode.txt") as requirements_big_mode:
extras_requires = requirements_big_mode.readlines()
2018-08-23 17:45:41 +02:00
2012-02-09 16:57:10 +01:00
setup(
2019-12-11 16:12:58 +01:00
name="openslides",
author=openslides_author,
2019-12-11 16:12:58 +01:00
author_email="support@openslides.com",
description=openslides_description,
license=openslides_license,
long_description=long_description,
url=openslides_url,
version=openslides_version,
classifiers=[
2012-02-09 16:57:10 +01:00
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
2015-12-07 20:21:42 +01:00
# 'Development Status :: 3 - Alpha',
2019-12-13 09:39:42 +01:00
"Development Status :: 4 - Beta",
# 'Development Status :: 5 - Production/Stable',
2019-12-11 16:12:58 +01:00
"Environment :: Web Environment",
"Framework :: Django",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
2019-12-13 09:39:11 +01:00
"Programming Language :: Python :: 3.8",
2019-12-11 16:12:58 +01:00
],
packages=find_packages(exclude=["tests", "tests.*"]),
2013-05-17 01:17:07 +02:00
include_package_data=True,
install_requires=install_requires,
2019-12-11 16:12:58 +01:00
extras_require={"big_mode": extras_requires},
entry_points={"console_scripts": ["openslides = openslides.__main__:main"]},
)