Skip to content
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.

Generate setup.py (setuptools) from pyproject.toml (poetry)

License

Notifications You must be signed in to change notification settings

orsinium-archive/poetry-setup

Repository files navigation

poetry-setup

poetry-setup logo

Build Status Beta Apache-2.0

DEPRECATION WARNING: poetry-setup is deprecated, use DepHell instead. It can do all these things (dephell deps convert command) and much more.

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

Releases

No releases published

Packages

No packages published

Languages