Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor requirements.txt #4

Open
andreped opened this issue Oct 24, 2022 · 0 comments
Open

Refactor requirements.txt #4

andreped opened this issue Oct 24, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@andreped
Copy link
Collaborator

Instead of doing pip freeze > requirements.txt to get all requirements in a virtual environment, you probably want to make the requirements as minimalistic as possible.

Normally, I set the dependencies myself. For instance, tensorflow likely covers half of the requirements and then you only need to write tensorflow-gpu==1.13.1.

However, there are alternatives to pip freeze. I remember reading about pipreqs once. Have not tried it yet, but perhaps you could?
https://towardsdatascience.com/stop-using-pip-freeze-for-your-python-projects-9c37181730f9

@andreped andreped added the documentation Improvements or additions to documentation label Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant