[egenix-users] PyRun and PEX

Jürgen Hermann jh at web.de
Sat May 23 12:57:37 CEST 2015

Hi, I tried (with success) to concatenate PyRun and a PEX to get a 
single distribution artifact for one-command projects (i.e. tools and 
services). The only wart is that one still needs to pass the "script 
name" to PyRun, else it starts the REPL.

What do you think about a startup check to see if the PyRun executable 
is also a ZIP file, and then behave as-if sys.argv[0] was also passed as 
the first parameter?

[PEX = https://github.com/pantsbuild/pex]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /mailman-archives/egenix-users/attachments/20150523/9e1c1002/attachment.htm

More information about the egenix-users mailing list