pyinfra icon indicating copy to clipboard operation
pyinfra copied to clipboard

Pyinstaller binaries

Open Fizzadar opened this issue 3 years ago • 1 comments

Sometimes it's desirable to have a single binary instead of a pip/whatever package. Unfortunately in the Python world this isn't a simple task and the resulting binary is pretty slow to execute (10s to start cold). But it works!

Fizzadar avatar Mar 03 '22 11:03 Fizzadar

Codecov Report

Merging #768 (0517696) into 2.x (76c73ba) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##              2.x     #768   +/-   ##
=======================================
  Coverage   91.68%   91.68%           
=======================================
  Files         122      122           
  Lines        7605     7605           
=======================================
  Hits         6973     6973           
  Misses        632      632           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov[bot] avatar Mar 03 '22 11:03 codecov[bot]

should be doable with nuitka

v3ss0n avatar Feb 08 '23 10:02 v3ss0n

For now I'm killing this, I do wish to revisit probably using nuitka but the performance is still too much of a concern, although I have some ideas on dealing with this (bundle the pyinfra module into a zip to avoid all the IO operations on startup). Anyway, will revisit in 3.X where X > 0.

Fizzadar avatar Oct 21 '23 18:10 Fizzadar