Skip to main content
Version: 2.0 (deprecated)

setup-py


pants setup-py [args]

Deprecated in favor of the package goal.

Backend: ``

Config section: [setup-py]

Basic options

args

--setup-py-args="[<shell_str>, <shell_str>, ...]", ... -- [<shell_str> [<shell_str> [...]]]
PANTS_SETUP_PY_ARGS
pants.toml
[setup-py]
args = [
<shell_str>,
<shell_str>,
...,
]
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
pants.toml
[setup-py]
transitive = <bool>
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