A
A
Artem [email protected]2018-06-20 10:31:58
Python
Artem [email protected], 2018-06-20 10:31:58

Is the venv folder necessary for git commits?

I want to save the project to the github repository
In the folder with the application, __pycache__ and venv folders are created via PyCharm.
Are these folders needed when committing to git, especially if venv weighs 250mb?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Tim, 2018-06-21
@darqsat

It is enough to generate a file where the package names will be stored using the pip freeze command. It is customary to call such a file requirements.txt

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question