Packaging and distributing projects

The guidance previously provided here is now covered by the following resources.

Configuring your project

Setuptools configuration

For configuration specific to Setuptools, see its documentation:

For existing projects, see How to modernize a setup.py based project? and Is setup.py deprecated?.

Editable installs

See Install packages in a virtual environment using pip and venv for installing a local project in editable mode, and Development Mode for details specific to setuptools.

Building and publishing