<#22897 add support for binary build with pyinstal...
# github-notifications
q
#22897 add support for binary build with pyinstaller Issue created by stan-dot Is your feature request related to a problem? Please describe. We'd like to ship
.exe
to non-technical users who use Windows Describe the solution you'd like Another target similar to
pex_binary
is available that if computed, results in an
exe
in the
dist
folder IF ran on Windows (Pyinstaller is not a cross compiler) https://pyinstaller.org/en/stable/ . Describe alternatives you've considered Alternatives: • Currently
.pex
could be shipped, but the users would need to turn on Windows Dev Mode - that is not secure enough • Another way of shipping python apps - Nuitka - would require this issue done #14752 which sounds more complicated. • if we get a simple Python script as a target, perhaps with locked metadata this would be also workable • also https://github.com/ofek/pyapp might be of use here OR • embedded python (windows only ) https://www.python.org/downloads/release/python-3123/ Additional context pantsbuild/pants