Skip to main content

make setup.py (setutools) from pyproject.toml (poetry)

Project description

poetry-setup

poetry-setup logo

Build Status

Make your poetry project backward compatible.

This tool generate some files from pyproject.toml:

files scheme

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


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.0.tar.gz (5.0 kB view details)

Uploaded Source

File details

Details for the file poetry-setup-0.3.0.tar.gz.

File metadata

File hashes

Hashes for poetry-setup-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4d6c57d20fc0ebb86ccc457a8507670217b647621e73bca36077316c7452e02b
MD5 a4d137ddb1d975c5d8f645a5a58062ed
BLAKE2b-256 887a747cb8d6b5e369eeb5e9ee63d2385f55a3a79ffd6cf70163bccf050990d1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page