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
190dbd9b
Kaydet (Commit)
190dbd9b
authored
Ara 03, 2016
tarafından
Steve Dower
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #28846: Various installer fixes
üst
2d397dc4
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
12 deletions
+24
-12
build.bat
PCbuild/build.bat
+4
-0
pythoncore.vcxproj
PCbuild/pythoncore.vcxproj
+9
-3
buildrelease.bat
Tools/msi/buildrelease.bat
+4
-3
bundle.wxs
Tools/msi/bundle/bundle.wxs
+4
-2
make_zip.proj
Tools/msi/make_zip.proj
+2
-2
make_pkg.proj
Tools/nuget/make_pkg.proj
+1
-2
No files found.
PCbuild/build.bat
Dosyayı görüntüle @
190dbd9b
...
...
@@ -105,6 +105,9 @@ if "%platf%"=="x64" (
)
)
if not exist "%HG%" where hg > "%TEMP%\hg.loc" 2> nul && set /P HG= < "%TEMP%\hg.loc" & del "%TEMP%\hg.loc"
if not exist "%HG%" echo Cannot find Mercurial on PATH && exit /B 1
rem Setup the environment
call "%dir%env.bat" %vs_platf% >nul
...
...
@@ -142,6 +145,7 @@ msbuild "%dir%pcbuild.proj" /t:%target% %parallel% %verbose%^
/p:IncludeExternals=%IncludeExternals%^
/p:IncludeSSL=%IncludeSSL% /p:IncludeTkinter=%IncludeTkinter%^
/p:UseTestMarker=%UseTestMarker%^
/p:HG="%HG%"^
%1 %2 %3 %4 %5 %6 %7 %8 %9
@echo off
...
...
PCbuild/pythoncore.vcxproj
Dosyayı görüntüle @
190dbd9b
...
...
@@ -399,9 +399,15 @@
<ImportGroup
Label=
"ExtensionTargets"
>
</ImportGroup>
<Target
Name=
"_GetBuildInfo"
BeforeTargets=
"PrepareForBuild"
>
<Exec
Command=
"hg id -b > "$(IntDir)hgbranch.txt""
ContinueOnError=
"true"
/>
<Exec
Command=
"hg id -i > "$(IntDir)hgversion.txt""
ContinueOnError=
"true"
/>
<Exec
Command=
"hg id -t > "$(IntDir)hgtag.txt""
ContinueOnError=
"true"
/>
<PropertyGroup>
<HG
Condition=
"$(HG) == ''"
>
hg
</HG>
<_HG>
$(HG)
</_HG>
<_HG
Condition=
"$(HG.Contains(` `))"
>
"$(HG)"
</_HG>
</PropertyGroup>
<Message
Text=
"Getting build info from $(_HG)"
Importance=
"high"
/>
<Exec
Command=
"$(_HG) id -b > "$(IntDir)hgbranch.txt""
ContinueOnError=
"true"
/>
<Exec
Command=
"$(_HG) id -i > "$(IntDir)hgversion.txt""
ContinueOnError=
"true"
/>
<Exec
Command=
"$(_HG) id -t > "$(IntDir)hgtag.txt""
ContinueOnError=
"true"
/>
<PropertyGroup>
<HgBranch
Condition=
"Exists('$(IntDir)hgbranch.txt')"
>
$([System.IO.File]::ReadAllText('$(IntDir)hgbranch.txt').Trim())
</HgBranch>
<HgVersion
Condition=
"Exists('$(IntDir)hgversion.txt')"
>
$([System.IO.File]::ReadAllText('$(IntDir)hgversion.txt').Trim())
</HgVersion>
...
...
Tools/msi/buildrelease.bat
Dosyayı görüntüle @
190dbd9b
...
...
@@ -64,6 +64,9 @@ if "%1" NEQ "" echo Invalid option: "%1" && exit /B 1
if not defined BUILDX86 if not defined BUILDX64 (set BUILDX86=1) && (set BUILDX64=1)
if not exist "%HG%" where hg > "%TEMP%\hg.loc" 2> nul && set /P HG= < "%TEMP%\hg.loc" & del "%TEMP%\hg.loc"
if not exist "%HG%" echo Cannot find Mercurial on PATH && exit /B 1
call "%D%get_externals.bat"
:builddoc
...
...
@@ -77,8 +80,6 @@ call "%D%..\..\doc\make.bat" htmlhelp
if errorlevel 1 goto :eof
:skipdoc
where hg /q || echo Cannot find Mercurial on PATH && exit /B 1
where dlltool /q && goto skipdlltoolsearch
set _DLLTOOL_PATH=
where /R "%EXTERNALS%\" dlltool > "%TEMP%\dlltool.loc" 2> nul && set /P _DLLTOOL_PATH= < "%TEMP%\dlltool.loc" & del "%TEMP%\dlltool.loc"
...
...
@@ -187,7 +188,7 @@ msbuild "%D%bundle\releaseweb.wixproj" /t:Rebuild /p:Platform=%1 %BUILDOPTS% %CE
if errorlevel 1 exit /B
if defined BUILDZIP (
msbuild "%D%make_zip.proj" /t:Build %BUILDOPTS% %CERTOPTS%
msbuild "%D%make_zip.proj" /t:Build %BUILDOPTS% %CERTOPTS%
/p:OutputPath="%BUILD%en-us"
if errorlevel 1 exit /B
)
...
...
Tools/msi/bundle/bundle.wxs
Dosyayı görüntüle @
190dbd9b
<?xml version="1.0"?>
<Wix
xmlns=
"http://schemas.microsoft.com/wix/2006/wi"
xmlns:bal=
"http://schemas.microsoft.com/wix/BalExtension"
>
xmlns:bal=
"http://schemas.microsoft.com/wix/BalExtension"
xmlns:dep=
"http://schemas.microsoft.com/wix/DependencyExtension"
>
<Bundle
Name=
"!(loc.FullProductName)"
UpgradeCode=
"$(var.CoreUpgradeCode)"
Version=
"$(var.Version)"
...
...
@@ -8,7 +9,8 @@
Manufacturer=
"!(loc.Manufacturer)"
AboutUrl=
"http://www.python.org/"
DisableModify=
"button"
Compressed=
"no"
>
Compressed=
"no"
dep:ProviderKey=
"CPython-$(var.MajorVersionNumber).$(var.MinorVersionNumber)$(var.PyArchExt)$(var.PyTestExt)"
>
<BootstrapperApplication
Id=
"PythonBA"
SourceFile=
"$(var.BootstrapApp)"
>
<Payload
Compressed=
'yes'
SourceFile=
'Default.thm'
/>
<Payload
Compressed=
'yes'
SourceFile=
'Default.wxl'
/>
...
...
Tools/msi/make_zip.proj
Dosyayı görüntüle @
190dbd9b
...
...
@@ -13,10 +13,10 @@
<SignOutput>
false
</SignOutput>
<TargetName>
python-$(PythonVersion)-embed-$(ArchName)
</TargetName>
<TargetExt>
.zip
</TargetExt>
<TargetPath>
$(OutputPath)\
en-us\
$(TargetName)$(TargetExt)
</TargetPath>
<TargetPath>
$(OutputPath)\$(TargetName)$(TargetExt)
</TargetPath>
<CleanCommand>
rmdir /q/s "$(IntermediateOutputPath)\zip_$(ArchName)"
</CleanCommand>
<Arguments>
"$(PythonExe)" "$(MSBuildThisFileDirectory)\make_zip.py"
</Arguments>
<Arguments>
$(Arguments) -e -o "$(TargetPath)" -t "$(IntermediateOutputPath)\zip_$(ArchName)" -b "$(
OutDir
.TrimEnd('\'))"
</Arguments>
<Arguments>
$(Arguments) -e -o "$(TargetPath)" -t "$(IntermediateOutputPath)\zip_$(ArchName)" -b "$(
BuildPath
.TrimEnd('\'))"
</Arguments>
<Environment>
set DOC_FILENAME=python$(PythonVersion).chm
set VCREDIST_PATH=$(VS140COMNTOOLS)\..\..\VC\redist\$(Platform)\Microsoft.VC140.CRT
</Environment>
</PropertyGroup>
...
...
Tools/nuget/make_pkg.proj
Dosyayı görüntüle @
190dbd9b
...
...
@@ -18,13 +18,12 @@
<SignOutput>
false
</SignOutput>
<TargetName>
$(OutputName).$(NuspecVersion)
</TargetName>
<TargetExt>
.nupkg
</TargetExt>
<TargetPath>
$(OutputPath)\$(TargetName)$(TargetExt)
</TargetPath>
<IntermediateOutputPath>
$(IntermediateOutputPath)\nuget_$(ArchName)
</IntermediateOutputPath>
<CleanCommand>
rmdir /q/s "$(IntermediateOutputPath)"
</CleanCommand>
<PythonArguments>
"$(PythonExe)" "$(MSBuildThisFileDirectory)\..\msi\make_zip.py"
</PythonArguments>
<PythonArguments>
$(PythonArguments) -t "$(IntermediateOutputPath)" -b "$(
OutDir
.TrimEnd('\'))"
</PythonArguments>
<PythonArguments>
$(PythonArguments) -t "$(IntermediateOutputPath)" -b "$(
BuildPath
.TrimEnd('\'))"
</PythonArguments>
<PipArguments>
"$(IntermediateOutputPath)\python.exe" -B -c "import sys; sys.path.append(r'$(PySourcePath)\Lib'); import ensurepip; ensurepip._main()"
</PipArguments>
<PackageArguments
Condition=
"$(Packages) != ''"
>
"$(IntermediateOutputPath)\python.exe" -B -m pip install -U $(Packages)
</PackageArguments>
...
...
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