Kaydet (Commit) a37722cc authored tarafından Tim Peters's avatar Tim Peters

Added missing svn:eol-style property to text files.

üst a2d6c8a9
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<?xml version="1.0" encoding="Windows-1252"?> <?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject <VisualStudioProject
ProjectType="Visual C++" ProjectType="Visual C++"
Version="8,00" Version="8,00"
Name="_ssl" Name="_ssl"
ProjectGUID="{8E85BA54-8A47-4C8B-B72E-8E17579CC6D7}" ProjectGUID="{8E85BA54-8A47-4C8B-B72E-8E17579CC6D7}"
RootNamespace="_ssl" RootNamespace="_ssl"
Keyword="MakeFileProj" Keyword="MakeFileProj"
> >
<Platforms> <Platforms>
<Platform <Platform
Name="Win32" Name="Win32"
/> />
</Platforms> </Platforms>
<ToolFiles> <ToolFiles>
</ToolFiles> </ToolFiles>
<Configurations> <Configurations>
<Configuration <Configuration
Name="Release|Win32" Name="Release|Win32"
OutputDirectory=".\." OutputDirectory=".\."
IntermediateDirectory=".\x86-temp-release\_ssl" IntermediateDirectory=".\x86-temp-release\_ssl"
ConfigurationType="0" ConfigurationType="0"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
UseOfMFC="0" UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false" ATLMinimizesCRunTimeLibraryUsage="false"
> >
<Tool <Tool
Name="VCNMakeTool" Name="VCNMakeTool"
BuildCommandLine="python build_ssl.py" BuildCommandLine="python build_ssl.py"
ReBuildCommandLine="python build_ssl.py -a" ReBuildCommandLine="python build_ssl.py -a"
CleanCommandLine="echo Nothing to do" CleanCommandLine="echo Nothing to do"
Output="_ssl.pyd" Output="_ssl.pyd"
PreprocessorDefinitions="" PreprocessorDefinitions=""
IncludeSearchPath="" IncludeSearchPath=""
ForcedIncludes="" ForcedIncludes=""
AssemblySearchPath="" AssemblySearchPath=""
ForcedUsingAssemblies="" ForcedUsingAssemblies=""
CompileAsManaged="" CompileAsManaged=""
/> />
</Configuration> </Configuration>
<Configuration <Configuration
Name="Debug|Win32" Name="Debug|Win32"
OutputDirectory=".\." OutputDirectory=".\."
IntermediateDirectory=".\x86-temp-debug\_ssl" IntermediateDirectory=".\x86-temp-debug\_ssl"
ConfigurationType="0" ConfigurationType="0"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
UseOfMFC="0" UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false" ATLMinimizesCRunTimeLibraryUsage="false"
> >
<Tool <Tool
Name="VCNMakeTool" Name="VCNMakeTool"
BuildCommandLine="python_d -u build_ssl.py -d" BuildCommandLine="python_d -u build_ssl.py -d"
ReBuildCommandLine="python_d -u build_ssl.py -d -a" ReBuildCommandLine="python_d -u build_ssl.py -d -a"
CleanCommandLine="echo Nothing to do" CleanCommandLine="echo Nothing to do"
Output="_ssl_d.pyd" Output="_ssl_d.pyd"
PreprocessorDefinitions="" PreprocessorDefinitions=""
IncludeSearchPath="" IncludeSearchPath=""
ForcedIncludes="" ForcedIncludes=""
AssemblySearchPath="" AssemblySearchPath=""
ForcedUsingAssemblies="" ForcedUsingAssemblies=""
CompileAsManaged="" CompileAsManaged=""
/> />
</Configuration> </Configuration>
<Configuration <Configuration
Name="ReleaseItanium|Win32" Name="ReleaseItanium|Win32"
OutputDirectory="./." OutputDirectory="./."
IntermediateDirectory=".\ia64-temp-release\_ssl" IntermediateDirectory=".\ia64-temp-release\_ssl"
ConfigurationType="0" ConfigurationType="0"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
UseOfMFC="0" UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false" ATLMinimizesCRunTimeLibraryUsage="false"
> >
<Tool <Tool
Name="VCNMakeTool" Name="VCNMakeTool"
BuildCommandLine="python build_ssl.py" BuildCommandLine="python build_ssl.py"
ReBuildCommandLine="python build_ssl.py -a" ReBuildCommandLine="python build_ssl.py -a"
CleanCommandLine="" CleanCommandLine=""
Output="_ssl.pyd" Output="_ssl.pyd"
PreprocessorDefinitions="" PreprocessorDefinitions=""
IncludeSearchPath="" IncludeSearchPath=""
ForcedIncludes="" ForcedIncludes=""
AssemblySearchPath="" AssemblySearchPath=""
ForcedUsingAssemblies="" ForcedUsingAssemblies=""
CompileAsManaged="" CompileAsManaged=""
/> />
</Configuration> </Configuration>
<Configuration <Configuration
Name="ReleaseAMD64|Win32" Name="ReleaseAMD64|Win32"
OutputDirectory="." OutputDirectory="."
IntermediateDirectory="amd64-temp-release\_ssl" IntermediateDirectory="amd64-temp-release\_ssl"
ConfigurationType="0" ConfigurationType="0"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
UseOfMFC="0" UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false" ATLMinimizesCRunTimeLibraryUsage="false"
> >
<Tool <Tool
Name="VCNMakeTool" Name="VCNMakeTool"
BuildCommandLine="python build_ssl.py" BuildCommandLine="python build_ssl.py"
ReBuildCommandLine="python build_ssl.py -a" ReBuildCommandLine="python build_ssl.py -a"
CleanCommandLine="" CleanCommandLine=""
Output="_ssl.pyd" Output="_ssl.pyd"
PreprocessorDefinitions="" PreprocessorDefinitions=""
IncludeSearchPath="" IncludeSearchPath=""
ForcedIncludes="" ForcedIncludes=""
AssemblySearchPath="" AssemblySearchPath=""
ForcedUsingAssemblies="" ForcedUsingAssemblies=""
CompileAsManaged="" CompileAsManaged=""
/> />
</Configuration> </Configuration>
</Configurations> </Configurations>
<References> <References>
</References> </References>
<Files> <Files>
<File <File
RelativePath="..\Modules\_ssl.c" RelativePath="..\Modules\_ssl.c"
> >
</File> </File>
</Files> </Files>
<Globals> <Globals>
</Globals> </Globals>
</VisualStudioProject> </VisualStudioProject>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
# An absurd workaround for the lack of arithmetic in MS's resource compiler. # An absurd workaround for the lack of arithmetic in MS's resource compiler.
# After building Python, run this, then paste the output into the appropriate # After building Python, run this, then paste the output into the appropriate
# part of PC\python_nt.rc. # part of PC\python_nt.rc.
# Example output: # Example output:
# #
# * For 2.3a0, # * For 2.3a0,
# * PY_MICRO_VERSION = 0 # * PY_MICRO_VERSION = 0
# * PY_RELEASE_LEVEL = 'alpha' = 0xA # * PY_RELEASE_LEVEL = 'alpha' = 0xA
# * PY_RELEASE_SERIAL = 1 # * PY_RELEASE_SERIAL = 1
# * # *
# * and 0*1000 + 10*10 + 1 = 101. # * and 0*1000 + 10*10 + 1 = 101.
# */ # */
# #define FIELD3 101 # #define FIELD3 101
import sys import sys
major, minor, micro, level, serial = sys.version_info major, minor, micro, level, serial = sys.version_info
levelnum = {'alpha': 0xA, levelnum = {'alpha': 0xA,
'beta': 0xB, 'beta': 0xB,
'candidate': 0xC, 'candidate': 0xC,
'final': 0xF, 'final': 0xF,
}[level] }[level]
string = sys.version.split()[0] # like '2.3a0' string = sys.version.split()[0] # like '2.3a0'
print " * For %s," % string print " * For %s," % string
print " * PY_MICRO_VERSION = %d" % micro print " * PY_MICRO_VERSION = %d" % micro
print " * PY_RELEASE_LEVEL = %r = %s" % (level, hex(levelnum)) print " * PY_RELEASE_LEVEL = %r = %s" % (level, hex(levelnum))
print " * PY_RELEASE_SERIAL = %d" % serial print " * PY_RELEASE_SERIAL = %d" % serial
print " *" print " *"
field3 = micro * 1000 + levelnum * 10 + serial field3 = micro * 1000 + levelnum * 10 + serial
print " * and %d*1000 + %d*10 + %d = %d" % (micro, levelnum, serial, field3) print " * and %d*1000 + %d*10 + %d = %d" % (micro, levelnum, serial, field3)
print " */" print " */"
print "#define FIELD3", field3 print "#define FIELD3", field3
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
# Remove all the .pyc and .pyo files under ../Lib. # Remove all the .pyc and .pyo files under ../Lib.
def deltree(root): def deltree(root):
import os import os
from os.path import join from os.path import join
npyc = npyo = 0 npyc = npyo = 0
for root, dirs, files in os.walk(root): for root, dirs, files in os.walk(root):
for name in files: for name in files:
delete = False delete = False
if name.endswith('.pyc'): if name.endswith('.pyc'):
delete = True delete = True
npyc += 1 npyc += 1
elif name.endswith('.pyo'): elif name.endswith('.pyo'):
delete = True delete = True
npyo += 1 npyo += 1
if delete: if delete:
os.remove(join(root, name)) os.remove(join(root, name))
return npyc, npyo return npyc, npyo
npyc, npyo = deltree("../Lib") npyc, npyo = deltree("../Lib")
print npyc, ".pyc deleted,", npyo, ".pyo deleted" print npyc, ".pyc deleted,", npyo, ".pyo deleted"
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment