diff --git a/README.md b/README.md index 17107a00..94594c55 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ custom: ## :sparkles::pencil::sparkles: Poetry support If you include a `pyproject.toml` and have `poetry` installed instead of a `requirements.txt` this will use -`poetry export --without-hashes -f requirements.txt -o requirements.txt` to generate them. It is fully compatible with all options such as `zip` and +`poetry export --without-hashes -f requirements.txt -o requirements.txt --with-credentials` to generate them. It is fully compatible with all options such as `zip` and `dockerizePip`. If you don't want this plugin to generate it for you, set the following option: ```yaml diff --git a/lib/poetry.js b/lib/poetry.js index 320c1d85..984baf52 100644 --- a/lib/poetry.js +++ b/lib/poetry.js @@ -22,7 +22,8 @@ function pyprojectTomlToRequirements() { '-f', 'requirements.txt', '-o', - 'requirements.txt' + 'requirements.txt', + '--with-credentials' ], { cwd: this.servicePath