[Python-checkins] CVS: python/dist/src/Lib/distutils
cygwinccompiler.py,1.12,1.13 sysconfig.py,1.37,1.38
M.-A. Lemburg
mal@lemburg.com
Thu, 26 Jul 2001 15:58:13 +0200
- Previous message: [Python-checkins] CVS: python/dist/src/PC pyconfig.h,NONE,1.1 dl_nt.c,1.3,1.4 config.h,1.56,NONE
- Next message: [Python-checkins] CVS: python/dist/src/Lib/distutils
cygwinccompiler.py,1.12,1.13 sysconfig.py,1.37,1.38
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
"Martin v. L?wis" wrote:
>
> Update of /cvsroot/python/python/dist/src/Lib/distutils
> In directory usw-pr-cvs1:/tmp/cvs-serv9816/Lib/distutils
>
> Modified Files:
> cygwinccompiler.py sysconfig.py
> Log Message:
> Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
>
> ***************
> *** 138,145 ****
>
> def get_config_h_filename():
> ! """Return full pathname of installed config.h file."""
> if python_build: inc_dir = '.'
> else: inc_dir = get_python_inc(plat_specific=1)
> ! return os.path.join(inc_dir, "config.h")
>
>
> --- 138,145 ----
>
> def get_config_h_filename():
> ! """Return full pathname of installed pyconfig.h file."""
> if python_build: inc_dir = '.'
> else: inc_dir = get_python_inc(plat_specific=1)
> ! return os.path.join(inc_dir, "pyconfig.h")
>
Two things:
1. You should patch the distutils CVS tree as well.
2. Your fix is not backwards compatible (distutils maintains
Python 1.5.2 and up compatibility, so you'll have to
switch on the sys.version here).
--
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Consulting & Company: http://www.egenix.com/
Python Software: http://www.lemburg.com/python/
- Previous message: [Python-checkins] CVS: python/dist/src/PC pyconfig.h,NONE,1.1 dl_nt.c,1.3,1.4 config.h,1.56,NONE
- Next message: [Python-checkins] CVS: python/dist/src/Lib/distutils
cygwinccompiler.py,1.12,1.13 sysconfig.py,1.37,1.38
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]