forked from platypush/platypush
Dynamically generate install_requires
through requirements.txt
.
This commit is contained in:
parent
fabcba14d9
commit
4d39791569
2 changed files with 3 additions and 19 deletions
|
@ -8,7 +8,6 @@ docutils
|
||||||
flask
|
flask
|
||||||
marshmallow
|
marshmallow
|
||||||
marshmallow_dataclass
|
marshmallow_dataclass
|
||||||
paho-mqtt
|
|
||||||
psutil
|
psutil
|
||||||
python-dateutil
|
python-dateutil
|
||||||
python-magic
|
python-magic
|
||||||
|
|
21
setup.py
21
setup.py
|
@ -104,24 +104,9 @@ setup(
|
||||||
"Development Status :: 4 - Beta",
|
"Development Status :: 4 - Beta",
|
||||||
],
|
],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'alembic',
|
line.split('#')[0].strip()
|
||||||
'croniter',
|
for line in readfile('requirements.txt').splitlines()
|
||||||
'docutils',
|
if line.strip().split('#')[0].strip()
|
||||||
'flask',
|
|
||||||
'marshmallow',
|
|
||||||
'marshmallow_dataclass',
|
|
||||||
'psutil',
|
|
||||||
'python-dateutil',
|
|
||||||
'python-magic',
|
|
||||||
'pyyaml',
|
|
||||||
'redis',
|
|
||||||
'requests',
|
|
||||||
'rsa',
|
|
||||||
'sqlalchemy',
|
|
||||||
'tornado',
|
|
||||||
'websocket-client',
|
|
||||||
'websockets',
|
|
||||||
'zeroconf>=0.27.0',
|
|
||||||
],
|
],
|
||||||
extras_require=parse_manifests(),
|
extras_require=parse_manifests(),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue