Skip to main content

create a PEP621-compliant `pyproject.toml` file from existing build configuration

Project description

peppyproject

pypi implementation python tests build

peppyproject creates a PEP621-compliant pyproject.toml file from an existing Python project's build configuration (setup.cfg, setup.py, tox.ini, etc.).

pip install peppyproject
peppyproject --input ./my_python_project --output new-pyproject.toml

peppyproject uses ini2toml[full] to read setup.cfg and INI files, and ast.literal_eval() to read and parse a setup.py file.

from peppyproject import PyProjectConfiguration

configuration = PyProjectConfiguration.from_directory('./my_python_project')
configuration.to_file('new-pyproject.toml')

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

peppyproject-0.2.4.tar.gz (75.5 kB view hashes)

Uploaded Source

Built Distribution

peppyproject-0.2.4-py3-none-any.whl (40.5 kB view hashes)

Uploaded Python 3

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