<div dir="ltr"><div><div><div><div><div><div><div>Getting lost as to what thread this belongs in...<br><br></div>But another tack to take toward a single executable is Cython's embedding option:<br><br><a href="https://github.com/cython/cython/wiki/EmbeddingCython">https://github.com/cython/cython/wiki/EmbeddingCython</a><br><br></div>This is a quick and dirty way to create a C executable that will then run the cythonized code, all linked to the python run time.<br><br></div>At this point, it still requires the python shared lib, and I think any other compiled extension is shared, too. And if you run Cython on all the python code and modules you use, you'll have a LOT of shared libs. But perhaps one could re-do the linking step of all that and get a single compiled exe.<br><br></div>and IIUC, the way Windows dll hell works, if you stuff the whole pile into one dir -- you will get a single executable directory, if not a single file.<br><br></div>and about a 2X performance boost, as well, when you cythonize pure Python, at least in my limited experience.<br><br></div>Just a thought.<br><br></div>-Chris<br><br><div><div><br><br><div><div><br><div><br><div><div><br><div><div class="gmail_extra"><br clear="all"><br>-- <br><div class="gmail_signature"><br>Christopher Barker, Ph.D.<br>Oceanographer<br><br>Emergency Response Division<br>NOAA/NOS/OR&R            (206) 526-6959   voice<br>7600 Sand Point Way NE   (206) 526-6329   fax<br>Seattle, WA  98115       (206) 526-6317   main reception<br><br><a href="mailto:Chris.Barker@noaa.gov" target="_blank">Chris.Barker@noaa.gov</a></div>
</div></div></div></div></div></div></div></div></div></div>