[Python-Dev] Re: [Python-checkins] CVS: python/dist/src Makefile.pre.in,1.35.2.1,1.35.2.2

Guido van Rossum guido@digicool.com
Thu, 19 Jul 2001 10:14:15 -0400


> Revert the previous two changes, unsetting PYTHONHOME breaks the build
> procedure on some platforms. Better safe than sorry!
[...]
> *** Makefile.pre.in	2001/07/19 09:28:24	1.35.2.1
> --- Makefile.pre.in	2001/07/19 13:21:05	1.35.2.2
> ***************
> *** 283,288 ****
>   # Build the shared modules
>   sharedmods: $(PYTHON)
> ! 	PYTHONPATH= PYTHONHOME= PYTHONSTARTUP= \
> ! 		./$(PYTHON) $(srcdir)/setup.py build
>   
>   # buildno should really depend on something like LIBRARY_SRC
> --- 283,287 ----
>   # Build the shared modules
>   sharedmods: $(PYTHON)
> ! 	PYTHONPATH= ./$(PYTHON) $(srcdir)/setup.py build
>   
>   # buildno should really depend on something like LIBRARY_SRC

It suddenly occurred to me that in the future (like 2.2) perhaps we
ought to have a command line option that means "ignore all
$PYTHON... environment variables".

--Guido van Rossum (home page: http://www.python.org/~guido/)