Embedding Python at the OS level - build problems

Jeff Epler jepler at unpythonic.net
Tue May 25 22:52:21 EDT 2004


"pgen" has to be built and run on the host system.  I'm surprised to
learn that this little detail hasn't been fixed in the build system
after all these years.

I think it's pretty safe to say that you have to have *some* kind of
module to import as 'os'.  Just what subset of the functionaliy is
actually necesary to start Python, I'm less sure.  If your OS is
sufficiently different from POSIX, just add a case to the top of os.py
for it, and start from scrach on your OS low-level module.

Good luck with your project!

Jeff




More information about the Python-list mailing list