OpenSlides/setup.py

49 lines
1.4 KiB
Python
Raw Normal View History

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: 20112013 by OpenSlides team, see AUTHORS.
2012-04-25 22:29:19 +02:00
:license: GNU GPL, see LICENSE for more details.
"""
from setuptools import setup, find_packages
2012-02-09 16:57:10 +01:00
from openslides import get_version
with open('README.rst') as readme:
2013-04-25 13:10:50 +02:00
long_description = readme.read()
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',
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',
],
license='GPL2+',
packages=find_packages(exclude=['tests', 'tests.*']),
2013-05-17 01:17:07 +02:00
include_package_data=True,
install_requires=install_requires,
entry_points={'console_scripts': ['openslides = openslides.__main__:main']})