VERSION in getpath.c
Hello, First, I am new to Python so I hope this is the correct place to post this type of question. I am playing with embedding Python 2.3a and I am tring to get importing to work. I have noticed the following in module_search_path : /tftpboot/lib/python21.zip /python/lib/python2.1/lib-dynload The 2.1 comes from the VERSION label at the start of getpath.c. Should this be PACKAGE_VERSION ? Regards -- Chris Johns, cjohns at cybertec.com.au
First, I am new to Python so I hope this is the correct place to post this type of question.
It's not, but you're forgiven.
I am playing with embedding Python 2.3a and I am tring to get importing to work. I have noticed the following in module_search_path :
/tftpboot/lib/python21.zip /python/lib/python2.1/lib-dynload
The 2.1 comes from the VERSION label at the start of getpath.c. Should this be PACKAGE_VERSION ?
No, if you look in the Makefile the VERSION variable is passed in from the Makefile to the compilation of getpath.c (only), so that you can override it (and a few other parameters) from the Makefile command line. --Guido van Rossum (home page: http://www.python.org/~guido/)
participants (2)
-
Chris Johns
-
Guido van Rossum