high-yak-85899
04/13/2022, 12:58 AMentry_point
? I'm seeing my module specified as entry_point
somehow end up in a traceback like /home/nathanael/.pex/installed_wheels/64f793b8414b45d023fab18cdb41b8298ed2f8d103ec032118f40b5ad1289e2f/my_distribution-0.0-py3-none-any.whl/path/to/my_module.py
high-yak-85899
04/13/2022, 1:03 AMhigh-yak-85899
04/13/2022, 1:07 AMenough-analyst-54434
04/13/2022, 1:10 AMhigh-yak-85899
04/13/2022, 1:11 AMmy_distribution
and my_module.py
enough-analyst-54434
04/13/2022, 1:11 AMenough-analyst-54434
04/13/2022, 1:12 AMmy_distribution
comes from a python_distribution
target and the transitive file deps of that target should not include my_module
?high-yak-85899
04/13/2022, 1:13 AM./pants dependencies --transitive
seems to be telling meenough-analyst-54434
04/13/2022, 1:13 AMpython_distribution
target then.high-yak-85899
04/13/2022, 1:14 AMmy_module.py
included.high-yak-85899
04/13/2022, 1:14 AM./pants package //:my_distribution
does the right thingenough-analyst-54434
04/13/2022, 1:14 AMenough-analyst-54434
04/13/2022, 1:15 AMpex_binary
depends on a python_distribution
the rules that power the package
goal should be exactly what are run on the python_distribution
before it gets added to the PEX file.enough-analyst-54434
04/13/2022, 1:16 AMenough-analyst-54434
04/13/2022, 1:16 AMhigh-yak-85899
04/13/2022, 1:16 AM