[Python-Dev] VERSION in getpath.c
Guido van Rossum
guido@python.org
Sun, 09 Mar 2003 06:40:27 -0500
> 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/)