zouguangxian added the comment:
I succeed in building python26 with msvc 2005. I create a tool to
convert pcbuild9 to pcbuild8.
1. delete pcbuild8
2. copy pcbuild9 to pcbuild8
3. run norm.py in pcbuild8, norm.py will change the format flag.
Added file: http://bugs.python.org/file8994/norm.py
__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1455>
__________________________________
# -*- coding: UTF-8 -*-
# vim: noexpandtab:nolist:sw=4 ts=4 sts=4:
# $Id$
import os
import sys
import re
top = '.'
for root, dirs, files in os.walk(top):
for name in files:
path, ext = os.path.splitext( name )
if not ( ext and ext.lower() in ['.vcproj', '.sln'] ):
continue
filename = os.path.normpath( os.path.join( root, name ) )
print filename
fin = open( filename, 'r' )
lines = fin.read()
lines = re.sub( r'Version="9,00"', r'Version="8.00"', lines)
lines = re.sub( r'Format Version 10.00', r'Format Version
9.00', lines)
lines = re.sub( r'Visual Studio 2008', r'Visual Studio 2005',
lines)
fin.close()
fout = open( filename, 'w' )
fout.write(lines)
fout.close()
break
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com