Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
4e6aff5e
Kaydet (Commit)
4e6aff5e
authored
Ock 03, 2006
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Make zlib builtin.
üst
70cef449
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
66 additions
and
281 deletions
+66
-281
config.c
PC/config.c
+3
-1
pcbuild.sln
PCbuild/pcbuild.sln
+0
-11
pythoncore.vcproj
PCbuild/pythoncore.vcproj
+61
-0
readme.txt
PCbuild/readme.txt
+0
-15
zlib.vcproj
PCbuild/zlib.vcproj
+0
-245
msi.py
Tools/msi/msi.py
+2
-9
No files found.
PC/config.c
Dosyayı görüntüle @
4e6aff5e
...
@@ -56,6 +56,7 @@ extern void initparser(void);
...
@@ -56,6 +56,7 @@ extern void initparser(void);
extern
void
init_winreg
(
void
);
extern
void
init_winreg
(
void
);
extern
void
initdatetime
(
void
);
extern
void
initdatetime
(
void
);
extern
void
initfunctional
(
void
);
extern
void
initfunctional
(
void
);
extern
void
initzlib
(
void
);
extern
void
init_multibytecodec
(
void
);
extern
void
init_multibytecodec
(
void
);
extern
void
init_codecs_cn
(
void
);
extern
void
init_codecs_cn
(
void
);
...
@@ -133,7 +134,8 @@ struct _inittab _PyImport_Inittab[] = {
...
@@ -133,7 +134,8 @@ struct _inittab _PyImport_Inittab[] = {
{
"xxsubtype"
,
initxxsubtype
},
{
"xxsubtype"
,
initxxsubtype
},
{
"zipimport"
,
initzipimport
},
{
"zipimport"
,
initzipimport
},
{
"zlib"
,
initzlib
},
/* CJK codecs */
/* CJK codecs */
{
"_multibytecodec"
,
init_multibytecodec
},
{
"_multibytecodec"
,
init_multibytecodec
},
{
"_codecs_cn"
,
init_codecs_cn
},
{
"_codecs_cn"
,
init_codecs_cn
},
...
...
PCbuild/pcbuild.sln
Dosyayı görüntüle @
4e6aff5e
...
@@ -74,11 +74,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "winsound", "winsound.vcproj
...
@@ -74,11 +74,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "winsound", "winsound.vcproj
{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
EndProjectSection
EndProjectSection
EndProject
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "zlib", "zlib.vcproj", "{680CDC79-9CCA-4282-9A8D-927CB0DB55B2}"
ProjectSection(ProjectDependencies) = postProject
{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_elementtree", "_elementtree.vcproj", "{1966DDE2-4AB7-4E4E-ACC9-C121E4D37F8E}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_elementtree", "_elementtree.vcproj", "{1966DDE2-4AB7-4E4E-ACC9-C121E4D37F8E}"
ProjectSection(ProjectDependencies) = postProject
ProjectSection(ProjectDependencies) = postProject
{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
...
@@ -180,12 +175,6 @@ Global
...
@@ -180,12 +175,6 @@ Global
{51F35FAE-FB92-4B2C-9187-1542C065AD77}.Release.Build.0 = Release|Win32
{51F35FAE-FB92-4B2C-9187-1542C065AD77}.Release.Build.0 = Release|Win32
{51F35FAE-FB92-4B2C-9187-1542C065AD77}.ReleaseItanium.ActiveCfg = ReleaseItanium|Win32
{51F35FAE-FB92-4B2C-9187-1542C065AD77}.ReleaseItanium.ActiveCfg = ReleaseItanium|Win32
{51F35FAE-FB92-4B2C-9187-1542C065AD77}.ReleaseItanium.Build.0 = ReleaseItanium|Win32
{51F35FAE-FB92-4B2C-9187-1542C065AD77}.ReleaseItanium.Build.0 = ReleaseItanium|Win32
{680CDC79-9CCA-4282-9A8D-927CB0DB55B2}.Debug.ActiveCfg = Debug|Win32
{680CDC79-9CCA-4282-9A8D-927CB0DB55B2}.Debug.Build.0 = Debug|Win32
{680CDC79-9CCA-4282-9A8D-927CB0DB55B2}.Release.ActiveCfg = Release|Win32
{680CDC79-9CCA-4282-9A8D-927CB0DB55B2}.Release.Build.0 = Release|Win32
{680CDC79-9CCA-4282-9A8D-927CB0DB55B2}.ReleaseItanium.ActiveCfg = ReleaseItanium|Win32
{680CDC79-9CCA-4282-9A8D-927CB0DB55B2}.ReleaseItanium.Build.0 = ReleaseItanium|Win32
{1966DDE2-4AB7-4E4E-ACC9-C121E4D37F8E}.Debug.ActiveCfg = Debug|Win32
{1966DDE2-4AB7-4E4E-ACC9-C121E4D37F8E}.Debug.ActiveCfg = Debug|Win32
{1966DDE2-4AB7-4E4E-ACC9-C121E4D37F8E}.Debug.Build.0 = Debug|Win32
{1966DDE2-4AB7-4E4E-ACC9-C121E4D37F8E}.Debug.Build.0 = Debug|Win32
{1966DDE2-4AB7-4E4E-ACC9-C121E4D37F8E}.Release.ActiveCfg = Release|Win32
{1966DDE2-4AB7-4E4E-ACC9-C121E4D37F8E}.Release.ActiveCfg = Release|Win32
...
...
PCbuild/pythoncore.vcproj
Dosyayı görüntüle @
4e6aff5e
...
@@ -226,6 +226,67 @@
...
@@ -226,6 +226,67 @@
<References>
<References>
</References>
</References>
<Files>
<Files>
<Filter
Name=
"zlib"
Filter=
""
>
<File
RelativePath=
"..\Modules\zlib\adler32.c"
>
</File>
<File
RelativePath=
"..\Modules\zlib\compress.c"
>
</File>
<File
RelativePath=
"..\Modules\zlib\crc32.c"
>
</File>
<File
RelativePath=
"..\Modules\zlib\deflate.c"
>
</File>
<File
RelativePath=
"..\Modules\zlib\gzio.c"
>
</File>
<File
RelativePath=
"..\Modules\zlib\infback.c"
>
</File>
<File
RelativePath=
"..\Modules\zlib\inffast.c"
>
</File>
<File
RelativePath=
"..\Modules\zlib\inflate.c"
>
</File>
<File
RelativePath=
"..\Modules\zlib\inftrees.c"
>
</File>
<File
RelativePath=
"..\Modules\zlib\trees.c"
>
</File>
<File
RelativePath=
"..\Modules\zlib\uncompr.c"
>
</File>
<File
RelativePath=
"..\Modules\zlibmodule.c"
>
<FileConfiguration
Name=
"Release|Win32"
>
<Tool
Name=
"VCCLCompilerTool"
AdditionalIncludeDirectories=
"..\Modules\zlib"
/>
</FileConfiguration>
<FileConfiguration
Name=
"Debug|Win32"
>
<Tool
Name=
"VCCLCompilerTool"
AdditionalIncludeDirectories=
"..\Modules\zlib"
/>
</FileConfiguration>
<FileConfiguration
Name=
"ReleaseItanium|Win32"
>
<Tool
Name=
"VCCLCompilerTool"
AdditionalIncludeDirectories=
"..\Modules\zlib"
/>
</FileConfiguration>
</File>
<File
RelativePath=
"..\Modules\zlib\zutil.c"
>
</File>
</Filter>
<File
<File
RelativePath=
"..\Modules\_bisectmodule.c"
>
RelativePath=
"..\Modules\_bisectmodule.c"
>
</File>
</File>
...
...
PCbuild/readme.txt
Dosyayı görüntüle @
4e6aff5e
...
@@ -124,21 +124,6 @@ _tkinter
...
@@ -124,21 +124,6 @@ _tkinter
nmake -f makefile.vc
nmake -f makefile.vc
nmake -f makefile.vc install
nmake -f makefile.vc install
zlib
Python wrapper for the zlib compression library. Get the source code
for version 1.2.3 from a convenient mirror at:
http://www.gzip.org/zlib/
Unpack into dist\zlib-1.2.3.
A custom pre-link step in the zlib project settings should manage to
build zlib-1.2.3\zlib.lib by magic before zlib.pyd (or zlib_d.pyd) is
linked in PCbuild\.
However, the zlib project is not smart enough to remove anything under
zlib-1.2.3\ when you do a clean, so if you want to rebuild zlib.lib
you need to clean up zlib-1.2.3\ by hand.
When building zlib.pyd for Itanium, the pre-link build step won't work,
so you will need to invoke nmake manually, using an IA64 build
environment.
bz2
bz2
Python wrapper for the libbz2 compression library. Homepage
Python wrapper for the libbz2 compression library. Homepage
http://sources.redhat.com/bzip2/
http://sources.redhat.com/bzip2/
...
...
PCbuild/zlib.vcproj
deleted
100644 → 0
Dosyayı görüntüle @
70cef449
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType=
"Visual C++"
Version=
"7.10"
Name=
"zlib"
RootNamespace=
"zlib"
SccProjectName=
"zlib"
SccLocalPath=
".."
>
<Platforms>
<Platform
Name=
"Win32"
/>
</Platforms>
<Configurations>
<Configuration
Name=
"Debug|Win32"
OutputDirectory=
".\."
IntermediateDirectory=
".\x86-temp-debug\zlib"
ConfigurationType=
"2"
UseOfMFC=
"0"
ATLMinimizesCRunTimeLibraryUsage=
"FALSE"
>
<Tool
Name=
"VCCLCompilerTool"
Optimization=
"0"
AdditionalIncludeDirectories=
"..\Include,..\PC,..\..\zlib-1.2.3"
PreprocessorDefinitions=
"_DEBUG;WIN32;_WINDOWS"
RuntimeLibrary=
"3"
UsePrecompiledHeader=
"2"
PrecompiledHeaderFile=
".\x86-temp-debug\zlib/zlib.pch"
AssemblerListingLocation=
".\x86-temp-debug\zlib/"
ObjectFile=
".\x86-temp-debug\zlib/"
ProgramDataBaseFileName=
".\x86-temp-debug\zlib/"
WarningLevel=
"3"
SuppressStartupBanner=
"TRUE"
DebugInformationFormat=
"3"
CompileAs=
"0"
/>
<Tool
Name=
"VCCustomBuildTool"
/>
<Tool
Name=
"VCLinkerTool"
AdditionalDependencies=
"..\..\zlib-1.2.3\zlib.lib"
OutputFile=
"./zlib_d.pyd"
LinkIncremental=
"1"
SuppressStartupBanner=
"TRUE"
IgnoreDefaultLibraryNames=
"libc;msvcrt"
GenerateDebugInformation=
"TRUE"
ProgramDatabaseFile=
".\./zlib_d.pdb"
SubSystem=
"2"
BaseAddress=
"0x1e1B0000"
ImportLibrary=
".\./zlib_d.lib"
TargetMachine=
"1"
/>
<Tool
Name=
"VCMIDLTool"
PreprocessorDefinitions=
"_DEBUG"
MkTypLibCompatible=
"TRUE"
SuppressStartupBanner=
"TRUE"
TargetEnvironment=
"1"
TypeLibraryName=
".\./zlib.tlb"
HeaderFileName=
""
/>
<Tool
Name=
"VCPostBuildEventTool"
/>
<Tool
Name=
"VCPreBuildEventTool"
/>
<Tool
Name=
"VCPreLinkEventTool"
Description=
"Checking static zlib has been built"
CommandLine=
"cd ..\..\zlib-1.2.3
nmake -nologo -f win32\Makefile.msc zlib.lib
"
/>
<Tool
Name=
"VCResourceCompilerTool"
PreprocessorDefinitions=
"_DEBUG"
Culture=
"1033"
/>
<Tool
Name=
"VCWebServiceProxyGeneratorTool"
/>
<Tool
Name=
"VCXMLDataGeneratorTool"
/>
<Tool
Name=
"VCWebDeploymentTool"
/>
<Tool
Name=
"VCManagedWrapperGeneratorTool"
/>
<Tool
Name=
"VCAuxiliaryManagedWrapperGeneratorTool"
/>
</Configuration>
<Configuration
Name=
"Release|Win32"
OutputDirectory=
".\."
IntermediateDirectory=
".\x86-temp-release\zlib"
ConfigurationType=
"2"
UseOfMFC=
"0"
ATLMinimizesCRunTimeLibraryUsage=
"FALSE"
>
<Tool
Name=
"VCCLCompilerTool"
Optimization=
"2"
InlineFunctionExpansion=
"1"
AdditionalIncludeDirectories=
"..\Include,..\PC,..\..\zlib-1.2.3"
PreprocessorDefinitions=
"NDEBUG;WIN32;_WINDOWS"
StringPooling=
"TRUE"
RuntimeLibrary=
"2"
EnableFunctionLevelLinking=
"TRUE"
UsePrecompiledHeader=
"2"
PrecompiledHeaderFile=
".\x86-temp-release\zlib/zlib.pch"
AssemblerListingLocation=
".\x86-temp-release\zlib/"
ObjectFile=
".\x86-temp-release\zlib/"
ProgramDataBaseFileName=
".\x86-temp-release\zlib/"
WarningLevel=
"3"
SuppressStartupBanner=
"TRUE"
DebugInformationFormat=
"3"
CompileAs=
"0"
/>
<Tool
Name=
"VCCustomBuildTool"
/>
<Tool
Name=
"VCLinkerTool"
AdditionalDependencies=
"..\..\zlib-1.2.3\zlib.lib"
OutputFile=
"./zlib.pyd"
LinkIncremental=
"1"
SuppressStartupBanner=
"TRUE"
IgnoreDefaultLibraryNames=
"libc"
GenerateDebugInformation=
"TRUE"
ProgramDatabaseFile=
".\./zlib.pdb"
SubSystem=
"2"
BaseAddress=
"0x1e1B0000"
ImportLibrary=
".\./zlib.lib"
TargetMachine=
"1"
/>
<Tool
Name=
"VCMIDLTool"
PreprocessorDefinitions=
"NDEBUG"
MkTypLibCompatible=
"TRUE"
SuppressStartupBanner=
"TRUE"
TargetEnvironment=
"1"
TypeLibraryName=
".\./zlib.tlb"
HeaderFileName=
""
/>
<Tool
Name=
"VCPostBuildEventTool"
/>
<Tool
Name=
"VCPreBuildEventTool"
/>
<Tool
Name=
"VCPreLinkEventTool"
Description=
"Checking static zlib has been built"
CommandLine=
"cd ..\..\zlib-1.2.3
nmake -nologo -f win32\Makefile.msc zlib.lib
"
/>
<Tool
Name=
"VCResourceCompilerTool"
PreprocessorDefinitions=
"NDEBUG"
Culture=
"1033"
/>
<Tool
Name=
"VCWebServiceProxyGeneratorTool"
/>
<Tool
Name=
"VCXMLDataGeneratorTool"
/>
<Tool
Name=
"VCWebDeploymentTool"
/>
<Tool
Name=
"VCManagedWrapperGeneratorTool"
/>
<Tool
Name=
"VCAuxiliaryManagedWrapperGeneratorTool"
/>
</Configuration>
<Configuration
Name=
"ReleaseItanium|Win32"
OutputDirectory=
"./."
IntermediateDirectory=
".\ia64-temp-release\zlib"
ConfigurationType=
"2"
UseOfMFC=
"0"
ATLMinimizesCRunTimeLibraryUsage=
"FALSE"
>
<Tool
Name=
"VCCLCompilerTool"
AdditionalOptions=
" /USECL:MS_ITANIUM"
Optimization=
"2"
InlineFunctionExpansion=
"1"
AdditionalIncludeDirectories=
"{MSSDKPATH}\include\Win64\atl;{MSSDKPATH}\include\Win64\crt;{MSSDKPATH}\include\Win64\crt\sys;{MSSDKPATH}\include\Win64\mfc;..\Include,..\PC,..\..\zlib-1.2.3"
PreprocessorDefinitions=
"NDEBUG;WIN32;_WINDOWS"
StringPooling=
"TRUE"
BasicRuntimeChecks=
"0"
RuntimeLibrary=
"2"
BufferSecurityCheck=
"FALSE"
EnableFunctionLevelLinking=
"TRUE"
UsePrecompiledHeader=
"2"
PrecompiledHeaderFile=
".\ia64-temp-release\zlib/zlib.pch"
AssemblerListingLocation=
".\ia64-temp-release\zlib/"
ObjectFile=
".\ia64-temp-release\zlib/"
ProgramDataBaseFileName=
".\ia64-temp-release\zlib/"
WarningLevel=
"3"
SuppressStartupBanner=
"TRUE"
Detect64BitPortabilityProblems=
"TRUE"
DebugInformationFormat=
"3"
CompileAs=
"0"
/>
<Tool
Name=
"VCCustomBuildTool"
/>
<Tool
Name=
"VCLinkerTool"
AdditionalOptions=
" /MACHINE:IA64 /USELINK:MS_SDK"
AdditionalDependencies=
"..\..\zlib-1.2.3\zlib.lib"
OutputFile=
"./zlib.pyd"
LinkIncremental=
"1"
SuppressStartupBanner=
"TRUE"
IgnoreDefaultLibraryNames=
"libc"
GenerateDebugInformation=
"TRUE"
ProgramDatabaseFile=
".\./zlib.pdb"
SubSystem=
"2"
BaseAddress=
"0x1e1B0000"
ImportLibrary=
".\./zlib.lib"
TargetMachine=
"0"
/>
<Tool
Name=
"VCMIDLTool"
PreprocessorDefinitions=
"NDEBUG"
MkTypLibCompatible=
"TRUE"
SuppressStartupBanner=
"TRUE"
TargetEnvironment=
"1"
TypeLibraryName=
".\./zlib.tlb"
HeaderFileName=
""
/>
<Tool
Name=
"VCPostBuildEventTool"
/>
<Tool
Name=
"VCPreBuildEventTool"
/>
<Tool
Name=
"VCPreLinkEventTool"
Description=
"Checking static zlib has been built"
CommandLine=
"cd ..\..\zlib-1.2.3
nmake -nologo -f win32\Makefile.msc zlib.lib
"
/>
<Tool
Name=
"VCResourceCompilerTool"
PreprocessorDefinitions=
"NDEBUG"
Culture=
"1033"
/>
<Tool
Name=
"VCWebServiceProxyGeneratorTool"
/>
<Tool
Name=
"VCXMLDataGeneratorTool"
/>
<Tool
Name=
"VCWebDeploymentTool"
/>
<Tool
Name=
"VCManagedWrapperGeneratorTool"
/>
<Tool
Name=
"VCAuxiliaryManagedWrapperGeneratorTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<File
RelativePath=
"..\Modules\zlibmodule.c"
>
</File>
</Files>
<Globals>
</Globals>
</VisualStudioProject>
Tools/msi/msi.py
Dosyayı görüntüle @
4e6aff5e
...
@@ -103,7 +103,6 @@ extensions = [
...
@@ -103,7 +103,6 @@ extensions = [
'select.pyd'
,
'select.pyd'
,
'unicodedata.pyd'
,
'unicodedata.pyd'
,
'winsound.pyd'
,
'winsound.pyd'
,
'zlib.pyd'
,
'_elementtree.pyd'
,
'_elementtree.pyd'
,
'_bsddb.pyd'
,
'_bsddb.pyd'
,
'_socket.pyd'
,
'_socket.pyd'
,
...
@@ -112,15 +111,9 @@ extensions = [
...
@@ -112,15 +111,9 @@ extensions = [
'_tkinter.pyd'
,
'_tkinter.pyd'
,
]
]
if
major
+
minor
<=
"2
3
"
:
if
major
+
minor
<=
"2
4
"
:
extensions
.
extend
([
extensions
.
extend
([
'_csv.pyd'
,
'zlib.pyd'
,
'_sre.pyd'
,
'_symtable.pyd'
,
'_winreg.pyd'
,
'datetime.pyd'
'mmap.pyd'
,
'parser.pyd'
,
])
])
# Well-known component UUIDs
# Well-known component UUIDs
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment