Python Setuptools

Setuptools Documentation
The Quick Guide to Python Eggs

Configuration

setup.cfg

Configuring setup() using setup.cfg files

Metadata

Key

Aliases

Type

Minimum Version

Notes

name

str

version

attr:, file:, str

39.2.0

url

home-page

str

download_url

download-url

str

project_urls

dict

38.3.0

author

str

author_email

author-email

str

maintainer

str

maintainer_email

maintainer-email

str

classifiers

classifier

file:, list-comma

license

str

license_file

str

license_files

list-comma

42.0.0

description

summary

file:, str

long_description

long-description

file:, str

long_description_content_type

str

38.6.0

keywords

list-comma

platforms

platform

list-comma

provides

list-comma

requires

list-comma

obsoletes

list-comma

Options

Key

Type

Minimum Version

Notes

zip_safe

bool

setup_requires

list-semi

install_requires

list-semi

extras_require

section

python_requires

str

entry_points

file:, section

use_2to3

bool

use_2to3_fixers

list-comma

use_2to3_exclude_fixers

list-comma

convert_2to3_doctests

list-comma

scripts

list-comma

eager_resources

list-comma

dependency_links

list-comma

tests_require

list-semi

include_package_data

bool

packages

find:, find_namespace:, list-comma

package_dir

dict

package_data

section

exclude_package_data

section

namespace_packages

list-comma

py_modules

list-comma

data_files

dict

40.6.0


Build

CLI
1
python -m build --no-isolation -C--no-cache

Publish

Packaging Python Projects