View Single Post
Old 05-01-2018, 04:18 AM   #6
gabox01
Junior Member
gabox01 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2018
Device: gabox01
Quote:
Originally Posted by itimpi View Post
It is worth reading up on how Python works. Python does not have a traditional compile phase and uses a “Just-in-time” technique for the python source code. By starting with the compiled binaries you make certain that all dependencies (C modules, libraries etc) are installed. If now install the source as well then any modules that have been changed will use the updated Python source.

Going right back to basics and building non-Python components is a much bigger task and not one that is required if you are only making alterations at the Python level.
Thanks, it is much clearer now.
Would it be technically possible to put those C modules, libraries etc.. in a directory in binary form, and make them available to your python code, so you don't have to use a binary at all? In Java, you can use the classpath to achieve that.
gabox01 is offline   Reply With Quote