File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,17 @@ def read(*paths):
1313 return f .read ()
1414
1515
16+ def requirements ():
17+ """Build the requirements list for this project"""
18+ requirements_list = []
19+
20+ with open ('requirements.txt' ) as requirements :
21+ for install in requirements :
22+ requirements_list .append (install .strip ())
23+
24+ return requirements_list
25+
26+
1627setup (
1728 name = 'python-telegram-bot' ,
1829 version = '2.9' ,
@@ -24,6 +35,7 @@ def read(*paths):
2435 description = 'A Python wrapper around the Telegram Bot API' ,
2536 long_description = (read ('README.rst' )),
2637 packages = find_packages (exclude = ['tests*' ]),
38+ install_requires = requirements (),
2739 include_package_data = True ,
2840 classifiers = [
2941 'Development Status :: 5 - Production/Stable' ,
You can’t perform that action at this time.
0 commit comments