Consider the following scenario:
1) You have to format your pc.
2) You copy your python projects to your hard disk along with the virtual 
environment(I keep the virtual environment in the project folder only).
3)When you copy your projects back after successfully formatting your pc, the 
useless virtualenv lies there and you can't get the requirements.txt now and 
have to install all packages one by one.

It could be great if pip or python or anyone would by default store a 
requirements.txt file inside the virtual env and on `pip install  xyz` would 
append `xyz` to that file.
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/ONN6YLH75MPA4OKGA5VJDL4SUMXPLR53/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to