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/to/project/]
Generate for project in current dir:
poetry-setup
Generate for project in example dir:
poetry-setup example
What about pipenv?
Pipenv can generate Pipfile from requirements.txt.
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.3.2.tar.gz
(4.8 kB
view details)
File details
Details for the file poetry-setup-0.3.2.tar.gz.
File metadata
- Download URL: poetry-setup-0.3.2.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cfedcc1aeef5ecdcb77a595115f69d884e6eaf67066977069213e3a5a6027cf
|
|
| MD5 |
691d7414fd0a8ce7c72f3d19308948d0
|
|
| BLAKE2b-256 |
1d48280e5d56807aa41509782f86e83b54d85a6eb8e3f5f3fff677519d53b01d
|