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.4.tar.gz
(4.9 kB
view details)
File details
Details for the file poetry-setup-0.3.4.tar.gz
.
File metadata
- Download URL: poetry-setup-0.3.4.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ef056c1f7db815087edd99b77b382e00be4c91d82cd37764e6124450a793cac |
|
MD5 | cc4220076dac6e4d275e7b6a9de0abd9 |
|
BLAKE2b-256 | e9127c879dbf99ee1faf8ad81fc4438a29c27c3d180284e1d85a58ea3d542dd5 |