Hey! These docs are for version 2.0, which is no longer officially supported. Click here for the latest version, 2.7!
./pants setup-py [args]

Deprecated in favor of the package goal.

Config section: [setup-py]

Basic options

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

--[no-]setup-py-transitive
PANTS_SETUP_PY_TRANSITIVE
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

Related subsystems

download-pex-bin, grpc_python_plugin, pex, protoc, python-infer, python-native-code, python-protobuf, python-repos, python-setup, setup-py, setup-py-generation, setuptools, source, subprocess-environment


Did this page help you?