How to use modern Python packaging and setuptools plugins together

Emotional, Burning, Unlimited Tuned Laboratory

Using the setuptools plugin with modern Python packaging allows for experimentation with automation.

Python packaging has evolved a lot. The latest (“beta”) uses one file, pyproject.toml, to control the package.

A minimal pyproject.toml might look like this:

requires = [“setuptools”]
build-backend = “setuptools.build_meta”

name = “cool_project”
version = “1.0.0”