Changeset 388 for python/vendor/current/PCbuild
- Timestamp:
- Mar 19, 2014, 11:11:30 AM (11 years ago)
- Location:
- python/vendor/current/PCbuild
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
python/vendor/current/PCbuild/_multiprocessing.vcproj
r2 r388 4 4 Version="9,00" 5 5 Name="_multiprocessing" 6 ProjectGUID="{9 e48b300-37d1-11dd-8c41-005056c00008}"6 ProjectGUID="{9E48B300-37D1-11DD-8C41-005056C00008}" 7 7 RootNamespace="_multiprocessing" 8 8 Keyword="Win32Proj" -
python/vendor/current/PCbuild/build_ssl.bat
r2 r388 3 3 if %1 EQU Debug ( 4 4 set HOST_PYTHON=python_d.exe 5 if not exist python2 6_d.dll exit 15 if not exist python27_d.dll exit 1 6 6 ) ELSE ( 7 7 set HOST_PYTHON=python.exe 8 if not exist python2 6.dll exit 18 if not exist python27.dll exit 1 9 9 ) 10 10 ) -
python/vendor/current/PCbuild/build_ssl.py
r2 r388 1 from __future__ import with_statement, print_function 1 2 # Script for building the _ssl and _hashlib modules for Windows. 2 3 # Uses Perl to setup the OpenSSL environment correctly … … 47 48 def find_working_perl(perls): 48 49 for perl in perls: 49 fh = os.popen( perl + ' -e "use Win32;"')50 fh = os.popen('"%s" -e "use Win32;"' % perl) 50 51 fh.read() 51 52 rc = fh.close() … … 64 65 return None 65 66 66 # Locate the best SSL directory given a few roots to look into. 67 def find_best_ssl_dir(sources): 68 candidates = [] 69 for s in sources: 70 try: 71 # note: do not abspath s; the build will fail if any 72 # higher up directory name has spaces in it. 73 fnames = os.listdir(s) 74 except os.error: 75 fnames = [] 76 for fname in fnames: 77 fqn = os.path.join(s, fname) 78 if os.path.isdir(fqn) and fname.startswith("openssl-"): 79 candidates.append(fqn) 80 # Now we have all the candidates, locate the best. 81 best_parts = [] 82 best_name = None 83 for c in candidates: 84 parts = re.split("[.-]", os.path.basename(c))[1:] 85 # eg - openssl-0.9.7-beta1 - ignore all "beta" or any other qualifiers 86 if len(parts) >= 4: 87 continue 88 if parts > best_parts: 89 best_parts = parts 90 best_name = c 91 if best_name is not None: 92 print("Found an SSL directory at '%s'" % (best_name,)) 93 else: 94 print("Could not find an SSL directory in '%s'" % (sources,)) 95 sys.stdout.flush() 96 return best_name 67 # Fetch SSL directory from VC properties 68 def get_ssl_dir(): 69 propfile = (os.path.join(os.path.dirname(__file__), 'pyproject.vsprops')) 70 with open(propfile) as f: 71 m = re.search('openssl-([^"]+)"', f.read()) 72 return "..\..\openssl-"+m.group(1) 73 97 74 98 75 def create_makefile64(makefile, m32): … … 103 80 if not os.path.isfile(m32): 104 81 return 105 # 2.4 compatibility 106 fin = open(m32) 107 if 1: # with open(m32) as fin: 108 fout = open(makefile, 'w') 109 if 1: # with open(makefile, 'w') as fout: 82 with open(m32) as fin: 83 with open(makefile, 'w') as fout: 110 84 for line in fin: 111 85 line = line.replace("=tmp32", "=tmp64") … … 187 161 perls = find_all_on_path("perl.exe", ["\\perl\\bin", "C:\\perl\\bin"]) 188 162 perl = find_working_perl(perls) 189 if perl is None: 163 if perl: 164 print("Found a working perl at '%s'" % (perl,)) 165 else: 190 166 print("No Perl installation was found. Existing Makefiles are used.") 191 192 print("Found a working perl at '%s'" % (perl,))193 167 sys.stdout.flush() 194 168 # Look for SSL 2 levels up from pcbuild - ie, same place zlib etc all live. 195 ssl_dir = find_best_ssl_dir(("..\\..",))169 ssl_dir = get_ssl_dir() 196 170 if ssl_dir is None: 197 171 sys.exit(1) -
python/vendor/current/PCbuild/build_tkinter.py
r2 r388 53 53 os.chdir(os.path.join(ROOT, TK, "win")) 54 54 if clean: 55 nmake("makefile.vc", "clean", TCLDIR=tcldir)56 nmake("makefile.vc", TCLDIR=tcldir, MACHINE=machine)57 nmake("makefile.vc", "install", TCLDIR=tcldir, INSTALLDIR=dest, MACHINE=machine)55 nmake("makefile.vc", "clean", DEBUG=0, TCLDIR=tcldir) 56 nmake("makefile.vc", DEBUG=0, MACHINE=machine) 57 nmake("makefile.vc", "install", DEBUG=0, INSTALLDIR=dest, MACHINE=machine) 58 58 59 59 # TIX … … 62 62 os.chdir(os.path.join(ROOT, TIX, "win")) 63 63 if clean: 64 nmake("python 9.mak", "clean")65 nmake("python 9.mak", MACHINE=machine, INSTALL_DIR=dest)66 nmake("python 9.mak", "install", INSTALL_DIR=dest)64 nmake("python.mak", "clean") 65 nmake("python.mak", MACHINE=machine, INSTALL_DIR=dest) 66 nmake("python.mak", "install", INSTALL_DIR=dest) 67 67 68 68 def main(): -
python/vendor/current/PCbuild/bz2.vcproj
r2 r388 44 44 Name="VCCLCompilerTool" 45 45 AdditionalIncludeDirectories="$(bz2Dir)" 46 /> 47 <Tool 48 Name="VCManagedResourceCompilerTool" 49 /> 50 <Tool 51 Name="VCResourceCompilerTool" 52 /> 53 <Tool 54 Name="VCPreLinkEventTool" 55 Description="Build libbz2" 56 CommandLine="cd $(bz2Dir)
if exist $(PlatformName)-Debug\libbz2.lib exit 0
if not exist $(PlatformName)-Debug mkdir $(PlatformName)-Debug
nmake /nologo /f makefile.msc lib
copy libbz2.lib $(PlatformName)-Debug
nmake /nologo /f makefile.msc clean
" 57 /> 58 <Tool 59 Name="VCLinkerTool" 60 AdditionalDependencies="$(bz2Dir)\$(PlatformName)-Debug\libbz2.lib" 46 PreprocessorDefinitions="WIN32;_FILE_OFFSET_BITS=64" 47 /> 48 <Tool 49 Name="VCManagedResourceCompilerTool" 50 /> 51 <Tool 52 Name="VCResourceCompilerTool" 53 /> 54 <Tool 55 Name="VCPreLinkEventTool" 56 /> 57 <Tool 58 Name="VCLinkerTool" 59 BaseAddress="0x1D170000" 61 60 /> 62 61 <Tool … … 107 106 Name="VCCLCompilerTool" 108 107 AdditionalIncludeDirectories="$(bz2Dir)" 109 /> 110 <Tool 111 Name="VCManagedResourceCompilerTool" 112 /> 113 <Tool 114 Name="VCResourceCompilerTool" 115 /> 116 <Tool 117 Name="VCPreLinkEventTool" 118 Description="Build libbz2" 119 CommandLine="cd $(bz2Dir)
if exist $(PlatformName)-Debug\libbz2.lib exit 0
if not exist $(PlatformName)-Debug mkdir $(PlatformName)-Debug
nmake /nologo /f makefile.msc lib
copy libbz2.lib $(PlatformName)-Debug
nmake /nologo /f makefile.msc clean
" 120 /> 121 <Tool 122 Name="VCLinkerTool" 123 AdditionalDependencies="$(bz2Dir)\$(PlatformName)-Debug\libbz2.lib" 108 PreprocessorDefinitions="WIN32;_FILE_OFFSET_BITS=64" 109 /> 110 <Tool 111 Name="VCManagedResourceCompilerTool" 112 /> 113 <Tool 114 Name="VCResourceCompilerTool" 115 /> 116 <Tool 117 Name="VCPreLinkEventTool" 118 /> 119 <Tool 120 Name="VCLinkerTool" 121 BaseAddress="0x1D170000" 124 122 /> 125 123 <Tool … … 170 168 Name="VCCLCompilerTool" 171 169 AdditionalIncludeDirectories="$(bz2Dir)" 172 /> 173 <Tool 174 Name="VCManagedResourceCompilerTool" 175 /> 176 <Tool 177 Name="VCResourceCompilerTool" 178 /> 179 <Tool 180 Name="VCPreLinkEventTool" 181 Description="Build libbz2" 182 CommandLine="cd $(bz2Dir)
if exist $(PlatformName)-Release\libbz2.lib exit 0
if not exist $(PlatformName)-Release mkdir $(PlatformName)-Release
nmake /nologo /f makefile.msc lib
copy libbz2.lib $(PlatformName)-Release
nmake /nologo /f makefile.msc clean
" 183 /> 184 <Tool 185 Name="VCLinkerTool" 186 AdditionalDependencies="$(bz2Dir)\$(PlatformName)-Release\libbz2.lib" 170 PreprocessorDefinitions="WIN32;_FILE_OFFSET_BITS=64" 171 /> 172 <Tool 173 Name="VCManagedResourceCompilerTool" 174 /> 175 <Tool 176 Name="VCResourceCompilerTool" 177 /> 178 <Tool 179 Name="VCPreLinkEventTool" 180 /> 181 <Tool 182 Name="VCLinkerTool" 183 BaseAddress="0x1D170000" 187 184 /> 188 185 <Tool … … 234 231 Name="VCCLCompilerTool" 235 232 AdditionalIncludeDirectories="$(bz2Dir)" 236 /> 237 <Tool 238 Name="VCManagedResourceCompilerTool" 239 /> 240 <Tool 241 Name="VCResourceCompilerTool" 242 /> 243 <Tool 244 Name="VCPreLinkEventTool" 245 Description="Build libbz2" 246 CommandLine="cd $(bz2Dir)
if exist $(PlatformName)-Release\libbz2.lib exit 0
if not exist $(PlatformName)-Release mkdir $(PlatformName)-Release
nmake /nologo /f makefile.msc lib
copy libbz2.lib $(PlatformName)-Release
nmake /nologo /f makefile.msc clean
" 247 /> 248 <Tool 249 Name="VCLinkerTool" 250 AdditionalDependencies="$(bz2Dir)\$(PlatformName)-Release\libbz2.lib" 233 PreprocessorDefinitions="WIN32;_FILE_OFFSET_BITS=64" 234 /> 235 <Tool 236 Name="VCManagedResourceCompilerTool" 237 /> 238 <Tool 239 Name="VCResourceCompilerTool" 240 /> 241 <Tool 242 Name="VCPreLinkEventTool" 243 /> 244 <Tool 245 Name="VCLinkerTool" 246 BaseAddress="0x1D170000" 251 247 /> 252 248 <Tool … … 297 293 Name="VCCLCompilerTool" 298 294 AdditionalIncludeDirectories="$(bz2Dir)" 299 /> 300 <Tool 301 Name="VCManagedResourceCompilerTool" 302 /> 303 <Tool 304 Name="VCResourceCompilerTool" 305 /> 306 <Tool 307 Name="VCPreLinkEventTool" 308 Description="Build libbz2" 309 CommandLine="cd $(bz2Dir)
if exist $(PlatformName)-Release\libbz2.lib exit 0
if not exist $(PlatformName)-Release mkdir $(PlatformName)-Release
nmake /nologo /f makefile.msc lib
copy libbz2.lib $(PlatformName)-Release
nmake /nologo /f makefile.msc clean
" 310 /> 311 <Tool 312 Name="VCLinkerTool" 313 AdditionalDependencies="$(bz2Dir)\$(PlatformName)-Release\libbz2.lib" 295 PreprocessorDefinitions="WIN32;_FILE_OFFSET_BITS=64" 296 /> 297 <Tool 298 Name="VCManagedResourceCompilerTool" 299 /> 300 <Tool 301 Name="VCResourceCompilerTool" 302 /> 303 <Tool 304 Name="VCPreLinkEventTool" 305 /> 306 <Tool 307 Name="VCLinkerTool" 308 BaseAddress="0x1D170000" 314 309 /> 315 310 <Tool … … 361 356 Name="VCCLCompilerTool" 362 357 AdditionalIncludeDirectories="$(bz2Dir)" 363 /> 364 <Tool 365 Name="VCManagedResourceCompilerTool" 366 /> 367 <Tool 368 Name="VCResourceCompilerTool" 369 /> 370 <Tool 371 Name="VCPreLinkEventTool" 372 Description="Build libbz2" 373 CommandLine="cd $(bz2Dir)
if exist $(PlatformName)-Release\libbz2.lib exit 0
if not exist $(PlatformName)-Release mkdir $(PlatformName)-Release
nmake /nologo /f makefile.msc lib
copy libbz2.lib $(PlatformName)-Release
nmake /nologo /f makefile.msc clean
" 374 /> 375 <Tool 376 Name="VCLinkerTool" 377 AdditionalDependencies="$(bz2Dir)\$(PlatformName)-Release\libbz2.lib" 358 PreprocessorDefinitions="WIN32;_FILE_OFFSET_BITS=64" 359 /> 360 <Tool 361 Name="VCManagedResourceCompilerTool" 362 /> 363 <Tool 364 Name="VCResourceCompilerTool" 365 /> 366 <Tool 367 Name="VCPreLinkEventTool" 368 /> 369 <Tool 370 Name="VCLinkerTool" 371 BaseAddress="0x1D170000" 378 372 TargetMachine="17" 379 373 /> … … 425 419 Name="VCCLCompilerTool" 426 420 AdditionalIncludeDirectories="$(bz2Dir)" 427 /> 428 <Tool 429 Name="VCManagedResourceCompilerTool" 430 /> 431 <Tool 432 Name="VCResourceCompilerTool" 433 /> 434 <Tool 435 Name="VCPreLinkEventTool" 436 Description="Build libbz2" 437 CommandLine="cd $(bz2Dir)
if exist $(PlatformName)-Release\libbz2.lib exit 0
if not exist $(PlatformName)-Release mkdir $(PlatformName)-Release
nmake /nologo /f makefile.msc lib
copy libbz2.lib $(PlatformName)-Release
nmake /nologo /f makefile.msc clean
" 438 /> 439 <Tool 440 Name="VCLinkerTool" 441 AdditionalDependencies="$(bz2Dir)\$(PlatformName)-Release\libbz2.lib" 421 PreprocessorDefinitions="WIN32;_FILE_OFFSET_BITS=64" 422 /> 423 <Tool 424 Name="VCManagedResourceCompilerTool" 425 /> 426 <Tool 427 Name="VCResourceCompilerTool" 428 /> 429 <Tool 430 Name="VCPreLinkEventTool" 431 /> 432 <Tool 433 Name="VCLinkerTool" 434 BaseAddress="0x1D170000" 442 435 /> 443 436 <Tool … … 489 482 Name="VCCLCompilerTool" 490 483 AdditionalIncludeDirectories="$(bz2Dir)" 491 /> 492 <Tool 493 Name="VCManagedResourceCompilerTool" 494 /> 495 <Tool 496 Name="VCResourceCompilerTool" 497 /> 498 <Tool 499 Name="VCPreLinkEventTool" 500 Description="Build libbz2" 501 CommandLine="cd $(bz2Dir)
if exist $(PlatformName)-Release\libbz2.lib exit 0
if not exist $(PlatformName)-Release mkdir $(PlatformName)-Release
nmake /nologo /f makefile.msc lib
copy libbz2.lib $(PlatformName)-Release
nmake /nologo /f makefile.msc clean
" 502 /> 503 <Tool 504 Name="VCLinkerTool" 505 AdditionalDependencies="$(bz2Dir)\$(PlatformName)-Release\libbz2.lib" 484 PreprocessorDefinitions="WIN32;_FILE_OFFSET_BITS=64" 485 /> 486 <Tool 487 Name="VCManagedResourceCompilerTool" 488 /> 489 <Tool 490 Name="VCResourceCompilerTool" 491 /> 492 <Tool 493 Name="VCPreLinkEventTool" 494 /> 495 <Tool 496 Name="VCLinkerTool" 497 BaseAddress="0x1D170000" 506 498 TargetMachine="17" 507 499 /> … … 540 532 </File> 541 533 </Filter> 534 <Filter 535 Name="bzip2 1.0.6 Header Files" 536 > 537 <File 538 RelativePath="$(bz2Dir)\bzlib.h" 539 > 540 </File> 541 <File 542 RelativePath="$(bz2Dir)\bzlib_private.h" 543 > 544 </File> 545 </Filter> 546 <Filter 547 Name="bzip2 1.0.6 Source Files" 548 > 549 <File 550 RelativePath="$(bz2Dir)\blocksort.c" 551 > 552 </File> 553 <File 554 RelativePath="$(bz2Dir)\bzlib.c" 555 > 556 </File> 557 <File 558 RelativePath="$(bz2Dir)\compress.c" 559 > 560 </File> 561 <File 562 RelativePath="$(bz2Dir)\crctable.c" 563 > 564 </File> 565 <File 566 RelativePath="$(bz2Dir)\decompress.c" 567 > 568 </File> 569 <File 570 RelativePath="$(bz2Dir)\huffman.c" 571 > 572 </File> 573 <File 574 RelativePath="$(bz2Dir)\randtable.c" 575 > 576 </File> 577 </Filter> 542 578 </Files> 543 579 <Globals> -
python/vendor/current/PCbuild/make_buildinfo.c
r2 r388 24 24 int make_buildinfo2() 25 25 { 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 26 struct _stat st; 27 HKEY hTortoise; 28 char command[CMD_SIZE+1]; 29 DWORD type, size; 30 if (_stat(".svn", &st) < 0) 31 return 0; 32 /* Allow suppression of subwcrev.exe invocation if a no_subwcrev file is present. */ 33 if (_stat("no_subwcrev", &st) == 0) 34 return 0; 35 if (RegOpenKey(HKEY_LOCAL_MACHINE, "Software\\TortoiseSVN", &hTortoise) != ERROR_SUCCESS && 36 RegOpenKey(HKEY_CURRENT_USER, "Software\\TortoiseSVN", &hTortoise) != ERROR_SUCCESS) 37 /* Tortoise not installed */ 38 return 0; 39 command[0] = '"'; /* quote the path to the executable */ 40 size = sizeof(command) - 1; 41 if (RegQueryValueEx(hTortoise, "Directory", 0, &type, command+1, &size) != ERROR_SUCCESS || 42 type != REG_SZ) 43 /* Registry corrupted */ 44 return 0; 45 strcat_s(command, CMD_SIZE, "bin\\subwcrev.exe"); 46 if (_stat(command+1, &st) < 0) 47 /* subwcrev.exe not part of the release */ 48 return 0; 49 strcat_s(command, CMD_SIZE, "\" .. ..\\Modules\\getbuildinfo.c getbuildinfo2.c"); 50 puts(command); fflush(stdout); 51 if (system(command) < 0) 52 return 0; 53 return 1; 54 54 } 55 55 56 56 int main(int argc, char*argv[]) 57 57 { 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 58 char command[500] = "cl.exe -c -D_WIN32 -DUSE_DL_EXPORT -D_WINDOWS -DWIN32 -D_WINDLL "; 59 int do_unlink, result; 60 if (argc != 2) { 61 fprintf(stderr, "make_buildinfo $(ConfigurationName)\n"); 62 return EXIT_FAILURE; 63 } 64 if (strcmp(argv[1], "Release") == 0) { 65 strcat_s(command, CMD_SIZE, "-MD "); 66 } 67 else if (strcmp(argv[1], "Debug") == 0) { 68 strcat_s(command, CMD_SIZE, "-D_DEBUG -MDd "); 69 } 70 else if (strcmp(argv[1], "ReleaseItanium") == 0) { 71 strcat_s(command, CMD_SIZE, "-MD /USECL:MS_ITANIUM "); 72 } 73 else if (strcmp(argv[1], "ReleaseAMD64") == 0) { 74 strcat_s(command, CMD_SIZE, "-MD "); 75 strcat_s(command, CMD_SIZE, "-MD /USECL:MS_OPTERON "); 76 } 77 else { 78 fprintf(stderr, "unsupported configuration %s\n", argv[1]); 79 return EXIT_FAILURE; 80 } 81 81 82 83 84 85 86 87 88 89 90 91 92 93 82 if ((do_unlink = make_buildinfo2())) 83 strcat_s(command, CMD_SIZE, "getbuildinfo2.c -DSUBWCREV "); 84 else 85 strcat_s(command, CMD_SIZE, "..\\Modules\\getbuildinfo.c"); 86 strcat_s(command, CMD_SIZE, " -Fogetbuildinfo.o -I..\\Include -I..\\PC"); 87 puts(command); fflush(stdout); 88 result = system(command); 89 if (do_unlink) 90 _unlink("getbuildinfo2.c"); 91 if (result < 0) 92 return EXIT_FAILURE; 93 return 0; 94 94 } -
python/vendor/current/PCbuild/pginstrument.vsprops
r2 r388 23 23 Name="VCLinkerTool" 24 24 OptimizeReferences="2" 25 EnableCOMDATFolding=" 2"25 EnableCOMDATFolding="1" 26 26 LinkTimeCodeGeneration="2" 27 27 ProfileGuidedDatabase="$(SolutionDir)$(PlatformName)-pgi\$(TargetName).pgd" -
python/vendor/current/PCbuild/pyd.vsprops
r2 r388 1 1 <?xml version="1.0" encoding="Windows-1252"?> 2 2 <VisualStudioPropertySheet 3 3 ProjectType="Visual C++" -
python/vendor/current/PCbuild/pyproject.vsprops
r2 r388 39 39 <UserMacro 40 40 Name="PyDllName" 41 Value="python2 6"41 Value="python27" 42 42 /> 43 43 <UserMacro … … 75 75 <UserMacro 76 76 Name="sqlite3Dir" 77 Value="$(externalsDir)\sqlite-3. 5.9"77 Value="$(externalsDir)\sqlite-3.6.21" 78 78 /> 79 79 <UserMacro 80 80 Name="bz2Dir" 81 Value="$(externalsDir)\bzip2-1.0. 5"81 Value="$(externalsDir)\bzip2-1.0.6" 82 82 /> 83 83 <UserMacro 84 84 Name="opensslDir" 85 Value="$(externalsDir)\openssl-0.9.8 l"85 Value="$(externalsDir)\openssl-0.9.8y" 86 86 /> 87 87 <UserMacro -
python/vendor/current/PCbuild/pythoncore.vcproj
r2 r388 716 716 </File> 717 717 <File 718 RelativePath="..\Include\dtoa.h" 719 > 720 </File> 721 <File 718 722 RelativePath="..\Include\enumobject.h" 719 723 > … … 849 853 <File 850 854 RelativePath="..\Include\pyarena.h" 855 > 856 </File> 857 <File 858 RelativePath="..\Include\pycapsule.h" 859 > 860 </File> 861 <File 862 RelativePath="..\Include\pyctype.h" 851 863 > 852 864 </File> … … 996 1008 </File> 997 1009 <File 998 RelativePath="..\Modules\_fileio.c"999 >1000 </File>1001 <File1002 RelativePath="..\Modules\_bytesio.c"1003 >1004 </File>1005 <File1006 1010 RelativePath="..\Modules\_functoolsmodule.c" 1007 1011 > … … 1028 1032 </File> 1029 1033 <File 1034 RelativePath="..\Modules\_math.c" 1035 > 1036 </File> 1037 <File 1038 RelativePath="..\Modules\_math.h" 1039 > 1040 </File> 1041 <File 1030 1042 RelativePath="..\Modules\_randommodule.c" 1031 1043 > … … 1169 1181 <File 1170 1182 RelativePath="..\Modules\xxsubtype.c" 1171 >1172 </File>1173 <File1174 RelativePath="..\Modules\yuv.h"1175 >1176 </File>1177 <File1178 RelativePath="..\Modules\yuvconvert.c"1179 1183 > 1180 1184 </File> … … 1352 1356 <File 1353 1357 RelativePath="..\Modules\cjkcodecs\multibytecodec.h" 1358 > 1359 </File> 1360 </Filter> 1361 <Filter 1362 Name="_io" 1363 > 1364 <File 1365 RelativePath="..\Modules\_io\_iomodule.c" 1366 > 1367 </File> 1368 <File 1369 RelativePath="..\Modules\_io\_iomodule.h" 1370 > 1371 </File> 1372 <File 1373 RelativePath="..\Modules\_io\bufferedio.c" 1374 > 1375 </File> 1376 <File 1377 RelativePath="..\Modules\_io\bytesio.c" 1378 > 1379 </File> 1380 <File 1381 RelativePath="..\Modules\_io\fileio.c" 1382 > 1383 </File> 1384 <File 1385 RelativePath="..\Modules\_io\iobase.c" 1386 > 1387 </File> 1388 <File 1389 RelativePath="..\Modules\_io\stringio.c" 1390 > 1391 </File> 1392 <File 1393 RelativePath="..\Modules\_io\textio.c" 1354 1394 > 1355 1395 </File> … … 1380 1420 </File> 1381 1421 <File 1422 RelativePath="..\Objects\capsule.c" 1423 > 1424 </File> 1425 <File 1426 RelativePath="..\Objects\cellobject.c" 1427 > 1428 </File> 1429 <File 1430 RelativePath="..\Objects\classobject.c" 1431 > 1432 </File> 1433 <File 1434 RelativePath="..\Objects\cobject.c" 1435 > 1436 </File> 1437 <File 1438 RelativePath="..\Objects\codeobject.c" 1439 > 1440 </File> 1441 <File 1442 RelativePath="..\Objects\complexobject.c" 1443 > 1444 </File> 1445 <File 1446 RelativePath="..\Objects\stringlib\count.h" 1447 > 1448 </File> 1449 <File 1450 RelativePath="..\Objects\descrobject.c" 1451 > 1452 </File> 1453 <File 1454 RelativePath="..\Objects\dictobject.c" 1455 > 1456 </File> 1457 <File 1458 RelativePath="..\Objects\enumobject.c" 1459 > 1460 </File> 1461 <File 1462 RelativePath="..\Objects\exceptions.c" 1463 > 1464 </File> 1465 <File 1466 RelativePath="..\Objects\stringlib\fastsearch.h" 1467 > 1468 </File> 1469 <File 1470 RelativePath="..\Objects\fileobject.c" 1471 > 1472 </File> 1473 <File 1474 RelativePath="..\Objects\stringlib\find.h" 1475 > 1476 </File> 1477 <File 1478 RelativePath="..\Objects\floatobject.c" 1479 > 1480 </File> 1481 <File 1482 RelativePath="..\Objects\frameobject.c" 1483 > 1484 </File> 1485 <File 1486 RelativePath="..\Objects\funcobject.c" 1487 > 1488 </File> 1489 <File 1490 RelativePath="..\Objects\genobject.c" 1491 > 1492 </File> 1493 <File 1494 RelativePath="..\Objects\intobject.c" 1495 > 1496 </File> 1497 <File 1498 RelativePath="..\Objects\iterobject.c" 1499 > 1500 </File> 1501 <File 1502 RelativePath="..\Objects\listobject.c" 1503 > 1504 </File> 1505 <File 1506 RelativePath="..\Objects\longobject.c" 1507 > 1508 </File> 1509 <File 1510 RelativePath="..\Objects\memoryobject.c" 1511 > 1512 </File> 1513 <File 1514 RelativePath="..\Objects\methodobject.c" 1515 > 1516 </File> 1517 <File 1518 RelativePath="..\Objects\moduleobject.c" 1519 > 1520 </File> 1521 <File 1522 RelativePath="..\Objects\object.c" 1523 > 1524 </File> 1525 <File 1526 RelativePath="..\Objects\obmalloc.c" 1527 > 1528 </File> 1529 <File 1530 RelativePath="..\Objects\stringlib\partition.h" 1531 > 1532 </File> 1533 <File 1534 RelativePath="..\Objects\rangeobject.c" 1535 > 1536 </File> 1537 <File 1538 RelativePath="..\Objects\setobject.c" 1539 > 1540 </File> 1541 <File 1542 RelativePath="..\Objects\sliceobject.c" 1543 > 1544 </File> 1545 <File 1546 RelativePath="..\Objects\stringlib\split.h" 1547 > 1548 </File> 1549 <File 1382 1550 RelativePath="..\Objects\stringobject.c" 1383 >1384 </File>1385 <File1386 RelativePath="..\Objects\cellobject.c"1387 >1388 </File>1389 <File1390 RelativePath="..\Objects\classobject.c"1391 >1392 </File>1393 <File1394 RelativePath="..\Objects\cobject.c"1395 >1396 </File>1397 <File1398 RelativePath="..\Objects\codeobject.c"1399 >1400 </File>1401 <File1402 RelativePath="..\Objects\complexobject.c"1403 >1404 </File>1405 <File1406 RelativePath="..\Objects\stringlib\count.h"1407 >1408 </File>1409 <File1410 RelativePath="..\Objects\descrobject.c"1411 >1412 </File>1413 <File1414 RelativePath="..\Objects\dictobject.c"1415 >1416 </File>1417 <File1418 RelativePath="..\Objects\enumobject.c"1419 >1420 </File>1421 <File1422 RelativePath="..\Objects\exceptions.c"1423 >1424 </File>1425 <File1426 RelativePath="..\Objects\stringlib\fastsearch.h"1427 >1428 </File>1429 <File1430 RelativePath="..\Objects\fileobject.c"1431 >1432 </File>1433 <File1434 RelativePath="..\Objects\stringlib\find.h"1435 >1436 </File>1437 <File1438 RelativePath="..\Objects\floatobject.c"1439 >1440 </File>1441 <File1442 RelativePath="..\Objects\frameobject.c"1443 >1444 </File>1445 <File1446 RelativePath="..\Objects\funcobject.c"1447 >1448 </File>1449 <File1450 RelativePath="..\Objects\genobject.c"1451 >1452 </File>1453 <File1454 RelativePath="..\Objects\intobject.c"1455 >1456 </File>1457 <File1458 RelativePath="..\Objects\iterobject.c"1459 >1460 </File>1461 <File1462 RelativePath="..\Objects\listobject.c"1463 >1464 </File>1465 <File1466 RelativePath="..\Objects\longobject.c"1467 >1468 </File>1469 <File1470 RelativePath="..\Objects\methodobject.c"1471 >1472 </File>1473 <File1474 RelativePath="..\Objects\moduleobject.c"1475 >1476 </File>1477 <File1478 RelativePath="..\Objects\object.c"1479 >1480 </File>1481 <File1482 RelativePath="..\Objects\obmalloc.c"1483 >1484 </File>1485 <File1486 RelativePath="..\Objects\stringlib\partition.h"1487 >1488 </File>1489 <File1490 RelativePath="..\Objects\rangeobject.c"1491 >1492 </File>1493 <File1494 RelativePath="..\Objects\setobject.c"1495 >1496 </File>1497 <File1498 RelativePath="..\Objects\sliceobject.c"1499 1551 > 1500 1552 </File> … … 1660 1712 </File> 1661 1713 <File 1714 RelativePath="..\Python\dtoa.c" 1715 > 1716 </File> 1717 <File 1662 1718 RelativePath="..\Python\dynload_win.c" 1663 1719 > … … 1696 1752 </File> 1697 1753 <File 1698 RelativePath="..\Python\getmtime.c"1699 >1700 </File>1701 <File1702 1754 RelativePath="..\Python\getopt.c" 1703 1755 > … … 1752 1804 </File> 1753 1805 <File 1806 RelativePath="..\Python\pyctype.c" 1807 > 1808 </File> 1809 <File 1754 1810 RelativePath="..\Python\pyfpe.c" 1755 1811 > … … 1777 1833 <File 1778 1834 RelativePath="..\Python\pythonrun.c" 1835 > 1836 </File> 1837 <File 1838 RelativePath="..\Python\random.c" 1779 1839 > 1780 1840 </File> -
python/vendor/current/PCbuild/readme.txt
r2 r388 56 56 PC/VS7.1/ 57 57 Visual Studio 2003 (7.1) 58 PC build8/58 PC/VS8.0/ 59 59 Visual Studio 2005 (8.0) 60 60 … … 108 108 project (see below). 109 109 _sqlite3 110 Wraps SQLite 3. 5.9, which is currently built by sqlite3.vcproj (see below).110 Wraps SQLite 3.6.21, which is currently built by sqlite3.vcproj (see below). 111 111 _tkinter 112 112 Wraps the Tk windowing system. Unlike _bsddb and _sqlite3, there's no … … 122 122 directory: 123 123 124 svn export http://svn.python.org/projects/external/bzip2-1.0. 5124 svn export http://svn.python.org/projects/external/bzip2-1.0.6 125 125 126 126 ** NOTE: if you use the Tools\buildbot\external(-amd64).bat approach for … … 129 129 130 130 A custom pre-link step in the bz2 project settings should manage to 131 build bzip2-1.0. 5\libbz2.lib by magic before bz2.pyd (or bz2_d.pyd) is131 build bzip2-1.0.6\libbz2.lib by magic before bz2.pyd (or bz2_d.pyd) is 132 132 linked in PCbuild\. 133 133 However, the bz2 project is not smart enough to remove anything under 134 bzip2-1.0. 5\ when you do a clean, so if you want to rebuild bzip2.lib135 you need to clean up bzip2-1.0. 5\ by hand.134 bzip2-1.0.6\ when you do a clean, so if you want to rebuild bzip2.lib 135 you need to clean up bzip2-1.0.6\ by hand. 136 136 137 137 All of this managed to build libbz2.lib in 138 bzip2-1.0. 5\$platform-$configuration\, which the Python project links in.138 bzip2-1.0.6\$platform-$configuration\, which the Python project links in. 139 139 140 140 _ssl … … 143 143 Get the source code through 144 144 145 svn export http://svn.python.org/projects/external/openssl-0.9.8 l145 svn export http://svn.python.org/projects/external/openssl-0.9.8y 146 146 147 147 ** NOTE: if you use the Tools\buildbot\external(-amd64).bat approach for … … 156 156 http://nasm.sf.net 157 157 for x86 builds. Put nasmw.exe anywhere in your PATH. 158 Note: recent releases of nasm only have nasm.exe. Just rename it to 159 nasmw.exe. 158 160 159 161 You can also install ActivePerl from 160 http://www.activestate.com/ Products/ActivePerl/162 http://www.activestate.com/activeperl/ 161 163 if you like to use the official sources instead of the files from 162 164 python's subversion repository. The svn version contains pre-build … … 261 263 from http://sf.net/projects/vsextcomp. The plugin will wrap cl.exe, to 262 264 locate the proper target compiler, and convert compiler options 263 accordingly. The project files require at least version 0.9.265 accordingly. The project files require at least version 0.9. 264 266 265 267 Building for AMD64 -
python/vendor/current/PCbuild/rt.bat
r2 r388 31 31 set qmode= 32 32 set dashO= 33 set tcltk= 33 set tcltk=tcltk 34 34 35 35 :CheckOpts … … 39 39 if "%1"=="-x64" (set prefix=amd64) & (set tcltk=tcltk64) & shift & goto CheckOpts 40 40 41 PATH %PATH%; ..\..\%tcltk%\bin41 PATH %PATH%;%~dp0..\..\%tcltk%\bin 42 42 set exe=%prefix%\python%suffix% 43 set cmd=%exe% %dashO% - E -tt ../lib/test/regrtest.py %1 %2 %3 %4 %5 %6 %7 %8 %943 set cmd=%exe% %dashO% -Wd -3 -E -tt ../lib/test/regrtest.py %1 %2 %3 %4 %5 %6 %7 %8 %9 44 44 if defined qmode goto Qmode 45 45 -
python/vendor/current/PCbuild/select.vcproj
r2 r388 55 55 <Tool 56 56 Name="VCLinkerTool" 57 AdditionalDependencies="ws ock32.lib"57 AdditionalDependencies="ws2_32.lib" 58 58 IgnoreDefaultLibraryNames="libc" 59 59 BaseAddress="0x1D110000" … … 117 117 <Tool 118 118 Name="VCLinkerTool" 119 AdditionalDependencies="ws ock32.lib"119 AdditionalDependencies="ws2_32.lib" 120 120 IgnoreDefaultLibraryNames="libc" 121 121 BaseAddress="0x1D110000" … … 179 179 <Tool 180 180 Name="VCLinkerTool" 181 AdditionalDependencies="ws ock32.lib"181 AdditionalDependencies="ws2_32.lib" 182 182 IgnoreDefaultLibraryNames="libc" 183 183 BaseAddress="0x1D110000" … … 242 242 <Tool 243 243 Name="VCLinkerTool" 244 AdditionalDependencies="ws ock32.lib"244 AdditionalDependencies="ws2_32.lib" 245 245 IgnoreDefaultLibraryNames="libc" 246 246 BaseAddress="0x1D110000" … … 304 304 <Tool 305 305 Name="VCLinkerTool" 306 AdditionalDependencies="ws ock32.lib"306 AdditionalDependencies="ws2_32.lib" 307 307 IgnoreDefaultLibraryNames="libc" 308 308 BaseAddress="0x1D110000" … … 367 367 <Tool 368 368 Name="VCLinkerTool" 369 AdditionalDependencies="ws ock32.lib"369 AdditionalDependencies="ws2_32.lib" 370 370 IgnoreDefaultLibraryNames="libc" 371 371 BaseAddress="0x1D110000" … … 430 430 <Tool 431 431 Name="VCLinkerTool" 432 AdditionalDependencies="ws ock32.lib"432 AdditionalDependencies="ws2_32.lib" 433 433 IgnoreDefaultLibraryNames="libc" 434 434 BaseAddress="0x1D110000" … … 493 493 <Tool 494 494 Name="VCLinkerTool" 495 AdditionalDependencies="ws ock32.lib"495 AdditionalDependencies="ws2_32.lib" 496 496 IgnoreDefaultLibraryNames="libc" 497 497 BaseAddress="0x1D110000" -
python/vendor/current/PCbuild/vs9to8.py
r2 r388 25 25 # Bah. VS8.0 does not expand macros in file names. 26 26 # Replace them here. 27 lines = lines.replace('$(sqlite3Dir)', '..\\..\\..\\sqlite-3. 5.9')27 lines = lines.replace('$(sqlite3Dir)', '..\\..\\..\\sqlite-3.6.21') 28 28 lines = lines.replace('$(bsddbDir)\\..\\..', '..\\..\\..\\db-4.7.25.0\\build_windows\\..') 29 29 lines = lines.replace('$(bsddbDir)', '..\\..\\..\\db-4.7.25.0\\build_windows')
Note:
See TracChangeset
for help on using the changeset viewer.