https://pantsbuild.org/ logo
#general
Title
# general
a

aloof-angle-91616

03/16/2019, 9:13 PM
our
setup-py
goal will create a distutils package: https://www.pantsbuild.org/python_readme.html#building-a-setuppy-distutils-package. that doesn't quite get you what you want, but what that task does beforehand is create a source dist with a pants-generated
setup.py
file (see https://github.com/pantsbuild/pants/blob/16cefff6021e021ca2efc7d5845424a613c4c839/src/python/pants/backend/python/tasks/setup_py.py#L697), and that might get you pretty close to what you want.