Created
January 2, 2023 15:26
-
-
Save sandman/23164c6e85885ec05b792b6f34ee2f69 to your computer and use it in GitHub Desktop.
Automatically generate requirements.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip3 install pip-tools pipreqs | |
# pipreqs generates a requirements.in file and pip-compile generates the requirements.txt from it | |
pipreqs --savepath=requirements.in && pip-compile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment