HOWTO.txt 1.13 KB
ATTENTION (for developpers only) :


HOW TO UPDATE THE requirements.txt file ?
---------------------------------------

Do not modify the requirements.txt file directly,
as it is generated by pip-tools.

	pip install pip-tools
	
Modify instead the requirements.in file
and then, execute this command to synchronize (update) the requirements.txt file :

	python -m piptools compile requirements.in


Do exactly the same for the requirements_dev.txt file, do not modify it
directly, but requirements_dev.in instead, then update it with :

	python -m piptools compile requirements_dev.in



HOW TO SYNC (install or update) YOUR PYTHON ENVIRONMENT WITH THE requirements.txt file ?
--------------------------------------------------------------------------------------

- for « non dev » :

	python -m piptools sync requirements.txt

OR

- for « dev » :

	python -m piptools sync requirements.txt requirements_dev.txt


NB: You could also do it the traditional way :
- for « non dev » :

	python -m pip install -r requirements.txt
	
- for « dev » : execute the previous command AND this one :

	python -m pip install -r requirements_dev.txt