DEPRECATION WARNING: poetry-setup is deprecated, use DepHell instead. It can do all these things (dephell deps convert command) and much more.
Make your poetry project backward compatible.
This tool generate some files from pyproject.toml:
- setup.py
- requirements.txt
- constraints.txt (from optional dependencies)
I'm recommend use pipsi for all console scripts like this.
Install via pipsi:
pipsi install poetry-setupInstall via pip:
pip install poetry-setupInstall via poetry:
poetry install poetry-setuppoetry-setup [path/to/project/]Generate for project in current dir:
poetry-setupGenerate for project in example dir:
poetry-setup examplePipenv can generate Pipfile from requirements.txt.
pipenv install
pipenv shell
python -m pytest tests.py