Skip to main content

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

Project description

poetry-setup

poetry-setup logo

Build Status Beta Apache-2.0

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

Uploaded Source

File details

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

File metadata

  • Download URL: poetry-setup-0.3.6.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

Hashes for poetry-setup-0.3.6.tar.gz
Algorithm Hash digest
SHA256 18204efc69bc3a79d19c905142d986e76d9a9dd18f4480f336dc6a7aad6a43b3
MD5 bbc9dd3931d35c6f7d3e60c6e9ca3240
BLAKE2b-256 372d1470abd025931519bcdd29957dd7fc14cf33217237fce0cdfa350532e771

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