Skip to main content
Version: 2.0.x (deprecated)

setuptools


The Python setuptools library (https://github.com/pypa/setuptools).

Backend: pants.core

Config section: [setuptools]

Basic options

None

Advanced options

version

--setuptools-version=<str>
PANTS_SETUPTOOLS_VERSION
default: setuptools>=50.3.0,<50.4

Requirement string for the tool.

extra_requirements

--setuptools-extra-requirements="['<str>', '<str>', ...]"
PANTS_SETUPTOOLS_EXTRA_REQUIREMENTS
default: ["wheel==0.35.1"]

Any additional requirement strings to use with the tool. This is useful if the tool allows you to install plugins or if you need to constrain a dependency to a certain version.

entry_point

--setuptools-entry-point=<str>
PANTS_SETUPTOOLS_ENTRY_POINT
default: None

The main module for the tool. Usually, you will not want to change this from the default.

interpreter_constraints

--setuptools-interpreter-constraints="['<str>', '<str>', ...]"
PANTS_SETUPTOOLS_INTERPRETER_CONSTRAINTS
default: ["CPython>=3.5"]

Python interpreter constraints for this tool.

Deprecated options

None