mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-25 08:37:07 +01:00
Adds future as requirement
This commit is contained in:
parent
c6533a2d69
commit
9191d333ca
1 changed files with 12 additions and 0 deletions
12
setup.py
12
setup.py
|
@ -13,6 +13,17 @@ def read(*paths):
|
||||||
return f.read()
|
return f.read()
|
||||||
|
|
||||||
|
|
||||||
|
def requirements():
|
||||||
|
"""Build the requirements list for this project"""
|
||||||
|
requirements_list = []
|
||||||
|
|
||||||
|
with open('requirements.txt') as requirements:
|
||||||
|
for install in requirements:
|
||||||
|
requirements_list.append(install.strip())
|
||||||
|
|
||||||
|
return requirements_list
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='python-telegram-bot',
|
name='python-telegram-bot',
|
||||||
version='2.9',
|
version='2.9',
|
||||||
|
@ -24,6 +35,7 @@ setup(
|
||||||
description='A Python wrapper around the Telegram Bot API',
|
description='A Python wrapper around the Telegram Bot API',
|
||||||
long_description=(read('README.rst')),
|
long_description=(read('README.rst')),
|
||||||
packages=find_packages(exclude=['tests*']),
|
packages=find_packages(exclude=['tests*']),
|
||||||
|
install_requires=requirements(),
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'Development Status :: 5 - Production/Stable',
|
'Development Status :: 5 - Production/Stable',
|
||||||
|
|
Loading…
Reference in a new issue