You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move dependency list to setup.py and use use the pip-compile tool introduced in #907 to generate requirements.txt.
Describe the solution you'd like
The definitive list of dependencies should be kept in setup.py to be compatible with setuptools but there should also exist a requirements.txt version for pip installing.
#907 introduced the use of pip-compile (from pip-tools) for auto-generating the requirements.txt file from a requirements.in file. We should instead keep the list of dependencies directly in setup.py and remove the requirements.in file completely.
This is also achievable with the pip-tools toolchain; If the dependency list is specified in an install_requires in setup.py, then you can generate requirements.txt from setup.py, using pip-compile without any arguments, or pip-compile --output-file requirements.txt setup.py to update.
See requirements-from-setuppy
This is also achievable with the pip-tools toolchain; If the dependency list is specified in an install_requires in setup.py, then you can generate requirements.txt from setup.py, using pip-compile without any arguments, or pip-compile --output-file requirements.txt setup.py to update.
See requirements-from-setuppy
Move dependency list to
setup.py
and use use thepip-compile
tool introduced in #907 to generaterequirements.txt
.Describe the solution you'd like
The definitive list of dependencies should be kept in
setup.py
to be compatible with setuptools but there should also exist arequirements.txt
version forpip
installing.#907 introduced the use of
pip-compile
(frompip-tools
) for auto-generating therequirements.txt
file from arequirements.in
file. We should instead keep the list of dependencies directly insetup.py
and remove therequirements.in
file completely.Related Issues/PRs
#907
The text was updated successfully, but these errors were encountered: