mirror of
https://github.com/ihabunek/toot.git
synced 2025-06-30 22:18:36 -04:00
Move requirements to requirements.txt
This commit is contained in:
parent
acda7cbb94
commit
0c4a5f3aaf
3
requirements.txt
Normal file
3
requirements.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
requests>=2.13,<3.0
|
||||||
|
beautifulsoup4>=4.5.0,<5.0
|
||||||
|
future>=0.16
|
9
setup.py
9
setup.py
@ -5,6 +5,9 @@ from setuptools import setup
|
|||||||
with open("README.rst") as readme:
|
with open("README.rst") as readme:
|
||||||
long_description = readme.read()
|
long_description = readme.read()
|
||||||
|
|
||||||
|
with open("requirements.txt") as f:
|
||||||
|
install_requires = f.read().split()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='toot',
|
name='toot',
|
||||||
version='0.9.1',
|
version='0.9.1',
|
||||||
@ -27,11 +30,7 @@ setup(
|
|||||||
'Programming Language :: Python :: 3.6',
|
'Programming Language :: Python :: 3.6',
|
||||||
],
|
],
|
||||||
packages=['toot'],
|
packages=['toot'],
|
||||||
install_requires=[
|
install_requires=install_requires,
|
||||||
'requests>=2.13,<3.0',
|
|
||||||
'beautifulsoup4>=4.5.0,<5.0',
|
|
||||||
'future>=0.16',
|
|
||||||
],
|
|
||||||
entry_points={
|
entry_points={
|
||||||
'console_scripts': [
|
'console_scripts': [
|
||||||
'toot=toot.console:main',
|
'toot=toot.console:main',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user