2012-04-25 22:29:19 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
2015-02-18 16:44:26 +01:00
|
|
|
from setuptools import find_packages, setup
|
2012-02-09 16:57:10 +01:00
|
|
|
|
2015-02-18 16:44:26 +01:00
|
|
|
from openslides import __author__ as openslides_author
|
|
|
|
from openslides import __description__ as openslides_description
|
|
|
|
from openslides import __version__ as openslides_version
|
2017-12-01 10:10:35 +01:00
|
|
|
from openslides import __license__ as openslides_license
|
|
|
|
from openslides import __url__ as openslides_url
|
2012-08-04 20:59:27 +02:00
|
|
|
|
2013-10-20 02:04:27 +02:00
|
|
|
with open('README.rst') as readme:
|
2013-04-25 13:10:50 +02:00
|
|
|
long_description = readme.read()
|
|
|
|
|
2013-05-16 20:35:51 +02:00
|
|
|
with open('requirements_production.txt') as requirements_production:
|
2014-04-28 22:32:58 +02:00
|
|
|
install_requires = requirements_production.readlines()
|
2013-05-16 20:35:51 +02:00
|
|
|
|
2012-02-09 16:57:10 +01:00
|
|
|
setup(
|
|
|
|
name='openslides',
|
2015-02-18 16:44:26 +01:00
|
|
|
author=openslides_author,
|
2012-02-09 16:57:10 +01:00
|
|
|
author_email='support@openslides.org',
|
2015-02-18 16:44:26 +01:00
|
|
|
description=openslides_description,
|
2017-12-01 10:10:35 +01:00
|
|
|
license=openslides_license,
|
2013-05-16 20:35:51 +02:00
|
|
|
long_description=long_description,
|
2017-12-01 10:10:35 +01:00
|
|
|
url=openslides_url,
|
2015-02-18 16:44:26 +01:00
|
|
|
version=openslides_version,
|
|
|
|
|
2013-05-16 20:35:51 +02:00
|
|
|
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',
|
2017-03-29 14:33:00 +02:00
|
|
|
# 'Development Status :: 4 - Beta',
|
|
|
|
'Development Status :: 5 - Production/Stable',
|
2012-02-09 16:57:10 +01:00
|
|
|
'Environment :: Web Environment',
|
|
|
|
'Framework :: Django',
|
2013-10-31 10:01:19 +01:00
|
|
|
'License :: OSI Approved :: MIT License',
|
2012-02-09 16:57:10 +01:00
|
|
|
'Operating System :: OS Independent',
|
2015-12-07 20:21:42 +01:00
|
|
|
'Programming Language :: Python :: 3.4',
|
2017-03-29 14:33:00 +02:00
|
|
|
'Programming Language :: Python :: 3.5',
|
|
|
|
'Programming Language :: Python :: 3.6', ],
|
2013-05-16 20:35:51 +02:00
|
|
|
packages=find_packages(exclude=['tests', 'tests.*']),
|
2013-05-17 01:17:07 +02:00
|
|
|
include_package_data=True,
|
2013-05-16 20:35:51 +02:00
|
|
|
install_requires=install_requires,
|
2013-09-08 14:30:26 +02:00
|
|
|
entry_points={'console_scripts': ['openslides = openslides.__main__:main']})
|