make setup.py (setutools) from pyproject.toml (poetry)
Project description
poetry-setup
Make your poetry project backward compatible.
This tool generate some files from pyproject.toml:
- setup.py
- requirements.txt
- constraints.txt (from optional dependencies)
Installation
I'm recommend use pipsi for all console scripts like this.
Install via pipsi:
pipsi install poetry-setup
Install via pip:
pip install poetry-setup
Install via poetry:
poetry install poetry-setup
Usage
poetry-setup [path/ti/project/]
Generate for project in current dir:
poetry-setup
Generate for project in example
dir:
poetry-setup example
Run test
pipenv install
pipenv shell
python -m pytest tests.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
poetry-setup-0.1.0.tar.gz
(2.5 kB
view details)
File details
Details for the file poetry-setup-0.1.0.tar.gz
.
File metadata
- Download URL: poetry-setup-0.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae456de0fe4420519d991c522cafe904d4a4fe102166708340e192f765f62aba |
|
MD5 | 430a069680a8aecb12fbf2d6ff192abd |
|
BLAKE2b-256 | 29b2be98bed775951ec366e37e9b6ddcd9227d25478fe28a5bc74f564a6124bf |