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
9cc113a8
Kaydet (Commit)
9cc113a8
authored
Ara 03, 2016
tarafından
Steve Dower
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #28846: Various installer fixes
üst
853ec5d4
f00ef72e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
67 additions
and
30 deletions
+67
-30
build.bat
PCbuild/build.bat
+4
-0
pythoncore.vcxproj
PCbuild/pythoncore.vcxproj
+1
-0
buildrelease.bat
Tools/msi/buildrelease.bat
+4
-4
bundle.wxs
Tools/msi/bundle/bundle.wxs
+4
-2
make_zip.proj
Tools/msi/make_zip.proj
+1
-1
make_pkg.proj
Tools/nuget/make_pkg.proj
+0
-1
config.guess
config.guess
+0
-0
config.sub
config.sub
+53
-22
No files found.
PCbuild/build.bat
Dosyayı görüntüle @
9cc113a8
...
...
@@ -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 @
9cc113a8
...
...
@@ -412,6 +412,7 @@
<_HG
Condition=
"$(HG.Contains(` `))"
>
"$(HG)"
</_HG>
</PropertyGroup>
<Message
Text=
"Getting build info from $(_HG)"
Importance=
"high"
/>
<MakeDir
Directories=
"$(IntDir)"
Condition=
"!Exists($(IntDir))"
/>
<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"
/>
...
...
Tools/msi/buildrelease.bat
Dosyayı görüntüle @
9cc113a8
...
...
@@ -65,6 +65,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
...
...
@@ -78,9 +81,6 @@ call "%D%..\..\doc\make.bat" htmlhelp
if errorlevel 1 goto :eof
:skipdoc
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
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"
...
...
@@ -181,7 +181,7 @@ msbuild "%D%bundle\releaseweb.wixproj" /t:Rebuild %BUILDOPTS% %CERTOPTS% /p:Rebu
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 @
9cc113a8
<?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 @
9cc113a8
...
...
@@ -13,7 +13,7 @@
<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)" -a $(ArchName)
</Arguments>
...
...
Tools/nuget/make_pkg.proj
Dosyayı görüntüle @
9cc113a8
...
...
@@ -18,7 +18,6 @@
<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>
...
...
config.guess
Dosyayı görüntüle @
9cc113a8
This diff is collapsed.
Click to expand it.
config.sub
Dosyayı görüntüle @
9cc113a8
#! /bin/sh
# Configuration validation subroutine script.
# Copyright 1992-201
4
Free Software Foundation, Inc.
# Copyright 1992-201
6
Free Software Foundation, Inc.
timestamp
=
'201
4-05-01
'
timestamp
=
'201
6-11-19
'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
...
...
@@ -25,7 +25,7 @@ timestamp='2014-05-01'
# of the GNU General Public License, version 3 ("GPLv3").
# Please send patches
with a ChangeLog entry to config-patches@gnu.org
.
# Please send patches
to <config-patches@gnu.org>
.
#
# Configuration subroutine to validate and canonicalize a configuration type.
# Supply the specified configuration type as an argument.
...
...
@@ -33,7 +33,7 @@ timestamp='2014-05-01'
# Otherwise, we print the canonical config type on stdout and succeed.
# You can get the latest version of this script from:
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
;hb=HEAD
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
# This file is supposed to be the same for all GNU packages
# and recognize all the CPU types, system types and aliases
...
...
@@ -53,8 +53,7 @@ timestamp='2014-05-01'
me
=
`
echo
"
$0
"
|
sed
-e
's,.*/,,'
`
usage
=
"
\
Usage:
$0
[OPTION] CPU-MFR-OPSYS
$0
[OPTION] ALIAS
Usage:
$0
[OPTION] CPU-MFR-OPSYS or ALIAS
Canonicalize a configuration name.
...
...
@@ -68,7 +67,7 @@ Report bugs and patches to <config-patches@gnu.org>."
version
=
"
\
GNU config.sub (
$timestamp
)
Copyright 1992-201
4
Free Software Foundation, Inc.
Copyright 1992-201
6
Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
...
...
@@ -117,8 +116,8 @@ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case
$maybe_os
in
nto-qnx
*
|
linux-gnu
*
|
linux-android
*
|
linux-dietlibc
|
linux-newlib
*
|
\
linux-musl
*
|
linux-uclibc
*
|
uclinux-uclibc
*
|
uclinux-gnu
*
|
kfreebsd
*
-gnu
*
|
\
knetbsd
*
-gnu
*
|
netbsd
*
-gnu
*
|
\
kopensolaris
*
-gnu
*
|
\
knetbsd
*
-gnu
*
|
netbsd
*
-gnu
*
|
netbsd
*
-eabi
*
|
\
kopensolaris
*
-gnu
*
|
cloudabi
*
-eabi
*
|
\
storm-chaos
*
|
os2-emx
*
|
rtmk-nova
*
)
os
=
-
$maybe_os
basic_machine
=
`
echo
$1
|
sed
's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'
`
...
...
@@ -255,12 +254,13 @@ case $basic_machine in
|
arc
|
arceb
\
|
arm
|
arm[bl]e
|
arme[lb]
|
armv[2-8]
|
armv[3-8][lb]
|
armv7[arm]
\
|
avr
|
avr32
\
|
ba
\
|
be32
|
be64
\
|
bfin
\
|
c4x
|
c8051
|
clipper
\
|
d10v
|
d30v
|
dlx
|
dsp16xx
\
|
epiphany
\
|
fido
|
fr30
|
frv
\
|
e
2k
|
e
piphany
\
|
fido
|
fr30
|
frv
|
ft32
\
|
h8300
|
h8500
|
hppa
|
hppa1.[01]
|
hppa2.0
|
hppa2.0[nw]
|
hppa64
\
|
hexagon
\
|
i370
|
i860
|
i960
|
ia64
\
...
...
@@ -301,10 +301,12 @@ case $basic_machine in
|
open8
|
or1k
|
or1knd
|
or32
\
|
pdp10
|
pdp11
|
pj
|
pjl
\
|
powerpc
|
powerpc64
|
powerpc64le
|
powerpcle
\
|
pru
\
|
pyramid
\
|
riscv32
|
riscv64
\
|
rl78
|
rx
\
|
score
\
|
sh
|
sh[1234]
|
sh[24]a
|
sh[24]aeb
|
sh[23]e
|
sh[34]eb
|
sheb
|
shbe
|
shle
|
sh[1234]le
|
sh3ele
\
|
sh
|
sh[1234]
|
sh[24]a
|
sh[24]aeb
|
sh[23]e
|
sh[
2
34]eb
|
sheb
|
shbe
|
shle
|
sh[1234]le
|
sh3ele
\
|
sh64
|
sh64le
\
|
sparc
|
sparc64
|
sparc64b
|
sparc64v
|
sparc86x
|
sparclet
|
sparclite
\
|
sparcv8
|
sparcv9
|
sparcv9b
|
sparcv9v
\
...
...
@@ -312,6 +314,7 @@ case $basic_machine in
|
tahoe
|
tic4x
|
tic54x
|
tic55x
|
tic6x
|
tic80
|
tron
\
|
ubicom32
\
|
v850
|
v850e
|
v850e1
|
v850e2
|
v850es
|
v850e2v3
\
|
visium
\
|
we32k
\
|
x86
|
xc16x
|
xstormy16
|
xtensa
\
|
z8k
|
z80
)
...
...
@@ -326,6 +329,9 @@ case $basic_machine in
c6x
)
basic_machine
=
tic6x-unknown
;;
leon|leon[3-9]
)
basic_machine
=
sparc-
$basic_machine
;;
m6811
|
m68hc11
|
m6812
|
m68hc12
|
m68hcs12x
|
nvptx
|
picochip
)
basic_machine
=
$basic_machine
-unknown
os
=
-none
...
...
@@ -371,12 +377,13 @@ case $basic_machine in
|
alphapca5[67]-
*
|
alpha64pca5[67]-
*
|
arc-
*
|
arceb-
*
\
|
arm-
*
|
armbe-
*
|
armle-
*
|
armeb-
*
|
armv
*
-
*
\
|
avr-
*
|
avr32-
*
\
|
ba-
*
\
|
be32-
*
|
be64-
*
\
|
bfin-
*
|
bs2000-
*
\
|
c[123]
*
|
c30-
*
|
[
cjt]90-
*
|
c4x-
*
\
|
c8051-
*
|
clipper-
*
|
craynv-
*
|
cydra-
*
\
|
d10v-
*
|
d30v-
*
|
dlx-
*
\
|
elxsi-
*
\
|
e
2k-
*
|
e
lxsi-
*
\
|
f30[01]-
*
|
f700-
*
|
fido-
*
|
fr30-
*
|
frv-
*
|
fx80-
*
\
|
h8300-
*
|
h8500-
*
\
|
hppa-
*
|
hppa1.[01]-
*
|
hppa2.0-
*
|
hppa2.0[nw]-
*
|
hppa64-
*
\
...
...
@@ -422,13 +429,15 @@ case $basic_machine in
|
orion-
*
\
|
pdp10-
*
|
pdp11-
*
|
pj-
*
|
pjl-
*
|
pn-
*
|
power-
*
\
|
powerpc-
*
|
powerpc64-
*
|
powerpc64le-
*
|
powerpcle-
*
\
|
pru-
*
\
|
pyramid-
*
\
|
riscv32-
*
|
riscv64-
*
\
|
rl78-
*
|
romp-
*
|
rs6000-
*
|
rx-
*
\
|
sh-
*
|
sh[1234]-
*
|
sh[24]a-
*
|
sh[24]aeb-
*
|
sh[23]e-
*
|
sh[34]eb-
*
|
sheb-
*
|
shbe-
*
\
|
shle-
*
|
sh[1234]le-
*
|
sh3ele-
*
|
sh64-
*
|
sh64le-
*
\
|
sparc-
*
|
sparc64-
*
|
sparc64b-
*
|
sparc64v-
*
|
sparc86x-
*
|
sparclet-
*
\
|
sparclite-
*
\
|
sparcv8-
*
|
sparcv9-
*
|
sparcv9b-
*
|
sparcv9v-
*
|
sv1-
*
|
sx
?
-
*
\
|
sparcv8-
*
|
sparcv9-
*
|
sparcv9b-
*
|
sparcv9v-
*
|
sv1-
*
|
sx
*
-
*
\
|
tahoe-
*
\
|
tic30-
*
|
tic4x-
*
|
tic54x-
*
|
tic55x-
*
|
tic6x-
*
|
tic80-
*
\
|
tile
*
-
*
\
...
...
@@ -436,6 +445,7 @@ case $basic_machine in
|
ubicom32-
*
\
|
v850-
*
|
v850e-
*
|
v850e1-
*
|
v850es-
*
|
v850e2-
*
|
v850e2v3-
*
\
|
vax-
*
\
|
visium-
*
\
|
we32k-
*
\
|
x86-
*
|
x86_64-
*
|
xc16x-
*
|
xps100-
*
\
|
xstormy16-
*
|
xtensa
*
-
*
\
...
...
@@ -512,6 +522,9 @@ case $basic_machine in
basic_machine
=
i386-pc
os
=
-aros
;;
asmjs
)
basic_machine
=
asmjs-unknown
;;
aux
)
basic_machine
=
m68k-apple
os
=
-aux
...
...
@@ -632,6 +645,14 @@ case $basic_machine in
basic_machine
=
m68k-bull
os
=
-sysv3
;;
e500v[12]
)
basic_machine
=
powerpc-unknown
os
=
$os
"spe"
;;
e500v[12]-
*
)
basic_machine
=
powerpc-
`
echo
$basic_machine
|
sed
's/^[^-]*-//'
`
os
=
$os
"spe"
;;
ebmon29k
)
basic_machine
=
a29k-amd
os
=
-ebmon
...
...
@@ -773,6 +794,9 @@ case $basic_machine in
basic_machine
=
m68k-isi
os
=
-sysv
;;
leon-
*
|
leon[3-9]-
*
)
basic_machine
=
sparc-
`
echo
$basic_machine
|
sed
's/-.*//'
`
;;
m68knommu
)
basic_machine
=
m68k-unknown
os
=
-linux
...
...
@@ -828,6 +852,10 @@ case $basic_machine in
basic_machine
=
powerpc-unknown
os
=
-morphos
;;
moxiebox
)
basic_machine
=
moxie-unknown
os
=
-moxiebox
;;
msdos
)
basic_machine
=
i386-pc
os
=
-msdos
...
...
@@ -1004,7 +1032,7 @@ case $basic_machine in
ppc-
*
|
ppcbe-
*
)
basic_machine
=
powerpc-
`
echo
$basic_machine
|
sed
's/^[^-]*-//'
`
;;
ppcle
|
powerpclittle
|
ppc-le
|
powerpc-little
)
ppcle
|
powerpclittle
)
basic_machine
=
powerpcle-unknown
;;
ppcle-
*
|
powerpclittle-
*
)
...
...
@@ -1014,7 +1042,7 @@ case $basic_machine in
;;
ppc64-
*
)
basic_machine
=
powerpc64-
`
echo
$basic_machine
|
sed
's/^[^-]*-//'
`
;;
ppc64le
|
powerpc64little
|
ppc64-le
|
powerpc64-little
)
ppc64le
|
powerpc64little
)
basic_machine
=
powerpc64le-unknown
;;
ppc64le-
*
|
powerpc64little-
*
)
...
...
@@ -1360,27 +1388,28 @@ case $os in
|
-hpux
*
|
-unos
*
|
-osf
*
|
-luna
*
|
-dgux
*
|
-auroraux
*
|
-solaris
*
\
|
-sym
*
|
-kopensolaris
*
|
-plan9
*
\
|
-amigaos
*
|
-amigados
*
|
-msdos
*
|
-newsos
*
|
-unicos
*
|
-aof
*
\
|
-aos
*
|
-aros
*
\
|
-aos
*
|
-aros
*
|
-cloudabi
*
|
-sortix
*
\
|
-nindy
*
|
-vxsim
*
|
-vxworks
*
|
-ebmon
*
|
-hms
*
|
-mvs
*
\
|
-clix
*
|
-riscos
*
|
-uniplus
*
|
-iris
*
|
-rtu
*
|
-xenix
*
\
|
-hiux
*
|
-386bsd
*
|
-knetbsd
*
|
-mirbsd
*
|
-netbsd
*
\
|
-bitrig
*
|
-openbsd
*
|
-solidbsd
*
\
|
-bitrig
*
|
-openbsd
*
|
-solidbsd
*
|
-libertybsd
*
\
|
-ekkobsd
*
|
-kfreebsd
*
|
-freebsd
*
|
-riscix
*
|
-lynxos
*
\
|
-bosx
*
|
-nextstep
*
|
-cxux
*
|
-aout
*
|
-elf
*
|
-oabi
*
\
|
-ptx
*
|
-coff
*
|
-ecoff
*
|
-winnt
*
|
-domain
*
|
-vsta
*
\
|
-udi
*
|
-eabi
*
|
-lites
*
|
-ieee
*
|
-go32
*
|
-aux
*
\
|
-chorusos
*
|
-chorusrdb
*
|
-cegcc
*
\
|
-chorusos
*
|
-chorusrdb
*
|
-cegcc
*
|
-glidix
*
\
|
-cygwin
*
|
-msys
*
|
-pe
*
|
-psos
*
|
-moss
*
|
-proelf
*
|
-rtems
*
\
|
-mingw32
*
|
-mingw64
*
|
-linux-gnu
*
|
-linux-android
*
\
|
-mi
dipix
*
|
-mi
ngw32
*
|
-mingw64
*
|
-linux-gnu
*
|
-linux-android
*
\
|
-linux-newlib
*
|
-linux-musl
*
|
-linux-uclibc
*
\
|
-uxpv
*
|
-beos
*
|
-mpeix
*
|
-udk
*
\
|
-uxpv
*
|
-beos
*
|
-mpeix
*
|
-udk
*
|
-moxiebox
*
\
|
-interix
*
|
-uwin
*
|
-mks
*
|
-rhapsody
*
|
-darwin
*
|
-opened
*
\
|
-openstep
*
|
-oskit
*
|
-conix
*
|
-pw32
*
|
-nonstopux
*
\
|
-storm-chaos
*
|
-tops10
*
|
-tenex
*
|
-tops20
*
|
-its
*
\
|
-os2
*
|
-vos
*
|
-palmos
*
|
-uclinux
*
|
-nucleus
*
\
|
-morphos
*
|
-superux
*
|
-rtmk
*
|
-rtmk-nova
*
|
-windiss
*
\
|
-powermax
*
|
-dnix
*
|
-nx6
|
-nx7
|
-sei
*
|
-dragonfly
*
\
|
-skyos
*
|
-haiku
*
|
-rdos
*
|
-toppers
*
|
-drops
*
|
-es
*
|
-tirtos
*
)
|
-skyos
*
|
-haiku
*
|
-rdos
*
|
-toppers
*
|
-drops
*
|
-es
*
\
|
-onefs
*
|
-tirtos
*
|
-phoenix
*
|
-fuchsia
*
)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx
*
)
...
...
@@ -1512,6 +1541,8 @@ case $os in
;;
-nacl
*
)
;;
-ios
)
;;
-none
)
;;
*
)
...
...
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