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

setup-py


pants setup-py [args]

Deprecated in favor of the package goal.

Backend: pants.core

Config section: [setup-py]

Basic options

args

--setup-py-args="[<shell_str>, <shell_str>, ...]", ... -- [<shell_str> [<shell_str> [...]]]
PANTS_SETUP_PY_ARGS
default: []

Arguments to pass directly to setup.py, e.g. --setup-py-args='bdist_wheel --python-tag py36.py37'. If unspecified, Pants will dump the setup.py chroot.

transitive

--[no-]setup-py-transitive
PANTS_SETUP_PY_TRANSITIVE
default: False

If specified, will run the setup.py command recursively on all exported targets that the specified targets depend on, in dependency order.

Advanced options

None

Deprecated options

None