2012-04-25 22:29:19 +02:00
|
|
|
|
#!/usr/bin/env python
|
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
"""
|
|
|
|
|
Setup script for OpenSlides.
|
|
|
|
|
|
2013-04-25 13:10:50 +02:00
|
|
|
|
:copyright: 2011–2013 by OpenSlides team, see AUTHORS.
|
2012-04-25 22:29:19 +02:00
|
|
|
|
:license: GNU GPL, see LICENSE for more details.
|
|
|
|
|
"""
|
|
|
|
|
|
2013-05-16 20:35:51 +02:00
|
|
|
|
from setuptools import setup, find_packages
|
2012-02-09 16:57:10 +01:00
|
|
|
|
from openslides import get_version
|
|
|
|
|
|
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()
|
|
|
|
|
|
2012-11-25 00:28:41 +01:00
|
|
|
|
|
2013-05-16 20:35:51 +02:00
|
|
|
|
with open('requirements_production.txt') as requirements_production:
|
|
|
|
|
install_requires = requirements_production.readlines()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# For Python 2.6 support
|
|
|
|
|
install_requires.append('argparse==1.2.1')
|
|
|
|
|
|
|
|
|
|
|
2012-02-09 16:57:10 +01:00
|
|
|
|
setup(
|
|
|
|
|
name='openslides',
|
|
|
|
|
version=get_version(),
|
|
|
|
|
author='OpenSlides-Team',
|
|
|
|
|
author_email='support@openslides.org',
|
2013-05-16 20:35:51 +02:00
|
|
|
|
url='http://openslides.org',
|
|
|
|
|
description='Presentation and assembly system',
|
|
|
|
|
long_description=long_description,
|
|
|
|
|
classifiers=[
|
2012-02-09 16:57:10 +01:00
|
|
|
|
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
|
|
|
|
|
'Development Status :: 5 - Production/Stable',
|
|
|
|
|
'Environment :: Web Environment',
|
|
|
|
|
'Intended Audience :: Other Audience',
|
|
|
|
|
'Framework :: Django',
|
|
|
|
|
'License :: OSI Approved :: GNU General Public License (GPL)',
|
|
|
|
|
'Operating System :: OS Independent',
|
|
|
|
|
'Programming Language :: Python',
|
|
|
|
|
],
|
2013-05-16 20:35:51 +02:00
|
|
|
|
license='GPL2+',
|
|
|
|
|
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']})
|