<#17590 Add output_path field to python_distributi...
# github-notifications
q
#17590 Add output_path field to python_distribution New issue created by mvashishtha I have build rules in a file for a pex and a wheel. when i build both with
./pants package ponder/::
, the pex goes into a folder within dist at
dist/ponder/ponder_bin.pex
. the wheel goes straight into the top level of
dist
at
dist/ponder-0.0.3-py3-none-any.whl
. is there any way to control the location of the output wheel? i want the wheel to go in
dist/ponder
too. here is the `ponder/BUILD`:
Copy code
# resource(name="pyproject", source="pyproject.toml")

pex_binary(
    name="ponder_bin",
    entry_point="__main__.py",
)

python_distribution(
    name="ponder_wheel",
    dependencies=["//:something_at_root"],
    provides=python_artifact(
        name="ponder",
        version="0.0.3",
    ),
    sdist=False
)

python_sources()
slack context: https://pantsbuild.slack.com/archives/C046T6T9U/p1668755087112079 pantsbuild/pants