Hey! These docs are for version 2.0, which is no longer officially supported. Click here for the latest version, 2.7!

setup-py-generation

Options to control how setup.py is generated from a python_distribution target.

Config section: [setup-py-generation]

Basic options

--setup-py-generation-first-party-dependency-version-scheme=<FirstPartyDependencyVersionScheme>
PANTS_SETUP_PY_GENERATION_FIRST_PARTY_DEPENDENCY_VERSION_SCHEME
first_party_dependency_version_scheme
one of: exact, compatible, any
default: exact
What version to set in `install_requires` when a `python_distribution` depends on other `python_distribution`s. If `exact`, will use `==`. If `compatible`, will use `~=`. If `any`, will leave off the version. See https://www.python.org/dev/peps/pep-0440/#version-specifiers.

Advanced options

None

Deprecated options

None


Did this page help you?