[Python-Dev] Single-file Python executables (was: Computed Goto dispatch for Python 2)
chris.barker at noaa.gov
Fri May 29 05:05:11 CEST 2015
Getting lost as to what thread this belongs in...
But another tack to take toward a single executable is Cython's embedding
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.
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
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.
and about a 2X performance boost, as well, when you cythonize pure Python,
at least in my limited experience.
Just a thought.
Christopher Barker, Ph.D.
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev