https://pantsbuild.org/ logo
a

ancient-breakfast-45303

05/02/2023, 12:39 AM
I noticed that
pex
2.1.135
venv create
doesn't omit a
__main__.py
in the venv. Is that intentional? The command accepts a
--bin-path
argument but I don't think it does anything unless the
__main__.py
is omitted to the root of the venv
filed an issue about this https://github.com/pantsbuild/pex/issues/2144 as it seems like an intentional change
e

enough-analyst-54434

05/02/2023, 12:54 AM
You only get one when using a
--pex-repository
. I'm not sure what a
__main__.py
would contain otherwise.
What were you thinking it should contain in the other cases @ancient-breakfast-45303?
c

curved-television-6568

05/02/2023, 1:00 AM
(ps. @ancient-breakfast-45303 you may want to edit
omit
->
emit
for clarity.. 😉 )
2 Views