fast-photographer-12719
01/08/2024, 4:53 PMpants package :main
i get a folder rather than a file as the .pex. e..g:
pants package :main
16:46:11.99 [INFO] Wrote dist/projects/main.pex
(base3.10) matt@DGX-2:~/mlcore$ ls -a dist/projects.flows.deframer/main.pex
. .. .bootstrap .deps __main__.py __pex__ PEX-INFO
This is unexpected as before (possibly when i was on version 2.16.0), it created a file. Also the documentation suggests it will be a file. My BUILd contains this:
pex_binary(
name="main",
entry_point="main.py",
)
This is causing an issue as i don't have an executable to run and the contents of .deps within the .pex directory contains wheels rather than the (expected) installed packages. Was this changed recently or have i made a mistake?brave-terabyte-73255
01/08/2024, 7:40 PMfast-photographer-12719
01/09/2024, 9:18 AMfast-photographer-12719
01/09/2024, 9:18 AMfast-photographer-12719
01/09/2024, 2:36 PM