Merge pull request #3817 from ostcar/extra_requirements

Add an easier way to install big_mode
This commit is contained in:
Norman Jäckel 2018-08-23 21:05:31 +02:00 committed by GitHub
commit 39e27c740e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,6 @@
__author__ = 'OpenSlides Team <support@openslides.org>' __author__ = 'OpenSlides Team <support@openslides.org>'
__description__ = 'Presentation and assembly system' __description__ = 'Presentation and assembly system'
__version__ = '2.3-dev' __version__ = '3.0-dev'
__license__ = 'MIT' __license__ = 'MIT'
__url__ = 'https://openslides.org' __url__ = 'https://openslides.org'

View File

@ -14,6 +14,9 @@ with open('README.rst') as readme:
with open('requirements_production.txt') as requirements_production: with open('requirements_production.txt') as requirements_production:
install_requires = requirements_production.readlines() install_requires = requirements_production.readlines()
with open('requirements_big_mode.txt') as requirements_big_mode:
extras_requires = requirements_production.readlines()
setup( setup(
name='openslides', name='openslides',
author=openslides_author, author=openslides_author,
@ -38,4 +41,5 @@ setup(
packages=find_packages(exclude=['tests', 'tests.*']), packages=find_packages(exclude=['tests', 'tests.*']),
include_package_data=True, include_package_data=True,
install_requires=install_requires, install_requires=install_requires,
extras_require={'big_mode': extras_requires},
entry_points={'console_scripts': ['openslides = openslides.__main__:main']}) entry_points={'console_scripts': ['openslides = openslides.__main__:main']})