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.1.tar.gz
(5.0 kB
view details)
File details
Details for the file poetry-setup-0.3.1.tar.gz
.
File metadata
- Download URL: poetry-setup-0.3.1.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 565ffc01fc5caeb278107d4d06ef0ea718f2813c8313fc33068bf972c8eaf99e |
|
MD5 | 052dff2b9f86836df66490da04c5316a |
|
BLAKE2b-256 | 773fe5e09316a6da34e302c81d77c5b63d02d76af43182f599ceb57def508d80 |