OpenSlides/setup.py

44 lines
1.3 KiB
Python
Raw Normal View History

2012-04-25 22:29:19 +02:00
#!/usr/bin/env python
# -*- coding: utf-8 -*-
2014-03-28 19:38:42 +01:00
import re
import sys
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()
2014-03-28 19:38:42 +01:00
dependency_line = re.compile('[^#-]')
with open('requirements_production.txt') as requirements_production:
2014-03-28 19:38:42 +01:00
install_requires = [line for line in requirements_production.readlines()
if dependency_line.match(line)]
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',
'Framework :: Django',
'License :: OSI Approved :: MIT License',
2012-02-09 16:57:10 +01:00
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
2012-02-09 16:57:10 +01:00
],
license='MIT',
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']})