¡Esta es una revisión vieja del documento!
poetry new project
poetry init
poetry install
Or
poetry install --no-root
poetry add package
poetry add git+repo_url
poetry run command
poetry env list --full-path
We do not need a virtual env docker. It is already isolated. So, we use
poetry config virtualenvs.create false
setting to turn it off.
cat requirements.txt|xargs poetry add
poetry show --tree
poetry add pymysql@latest
cat requirements.txt|xargs poetry add
This creates the repo gf accessed with credentials.
poetry config repositories.gf https://pip.getfinancing.us/simple/ poetry config http-basic.gf $PYPI_USER $PYPI_PSW