- Auto regenerate poetry pyproject.toml from all requirements.txt with script poetry_update.py - Sort dependancy in pyproject.toml - Rename directory venv to .venv - In bash, use USER instead of whoami - Remove python3 from ubuntu dependancy. Ignore python from system. - Use pyenv with poetry - Simplify pip installation script
418 B
418 B
Poetry
Add automatically dependancies
Add your dependancies in files requirements.txt and run script
./script/poetry_update.py
This will search all requirements.txt files and update pyproject.toml, to run poetry update.
Add manually dependancies
The automatic script will erase this dependancy, but you can add it for your locally test.
poetry add PYTHON_MODULE