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
f1502d09
Kaydet (Commit)
f1502d09
authored
Eyl 25, 2017
tarafından
Stefan Grönke
Kaydeden (comit)
Paul Moore
Eyl 25, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-31569: correct PCBuild/ case to PCbuild/ in build scripts and docs (GH-3711)
üst
8110dbd4
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
44 additions
and
43 deletions
+44
-43
CODEOWNERS
.github/CODEOWNERS
+1
-1
appveyor.yml
.github/appveyor.yml
+1
-1
builtdist.rst
Doc/distutils/builtdist.rst
+1
-1
test.rst
Doc/library/test.rst
+1
-1
make.bat
Doc/make.bat
+1
-1
sysconfig.py
Lib/distutils/sysconfig.py
+1
-1
2017-09-25-00-25-23.bpo-31569.TS49pM.rst
...EWS.d/next/Build/2017-09-25-00-25-23.bpo-31569.TS49pM.rst
+1
-0
bdist_wininst.vcxproj
PC/bdist_wininst/bdist_wininst.vcxproj
+2
-2
build.bat
PC/bdist_wininst/build.bat
+1
-1
launcher.c
PC/launcher.c
+4
-4
python.props
PCbuild/python.props
+5
-5
extensions_win32.ini
Tools/freeze/extensions_win32.ini
+9
-9
README.txt
Tools/msi/README.txt
+2
-2
build.bat
Tools/msi/build.bat
+1
-1
buildrelease.bat
Tools/msi/buildrelease.bat
+1
-1
exe.wixproj
Tools/msi/exe/exe.wixproj
+3
-3
launcher.wixproj
Tools/msi/launcher/launcher.wixproj
+4
-4
msi.props
Tools/msi/msi.props
+1
-1
testrelease.bat
Tools/msi/testrelease.bat
+1
-1
uploadrelease.bat
Tools/msi/uploadrelease.bat
+1
-1
wix.props
Tools/msi/wix.props
+1
-1
build.bat
Tools/nuget/build.bat
+1
-1
No files found.
.github/CODEOWNERS
Dosyayı görüntüle @
f1502d09
...
...
@@ -35,7 +35,7 @@ Python/bootstrap_hash.c @python/crypto-team
# Windows
/PC/ @python/windows-team
/PC
B
uild/ @python/windows-team
/PC
b
uild/ @python/windows-team
# Windows installer packages
/Tools/msi/ @python/windows-team
...
...
.github/appveyor.yml
Dosyayı görüntüle @
f1502d09
...
...
@@ -28,7 +28,7 @@ only_commits:
-
Modules/
-
Objects/
-
PC/
-
PC
B
uild/
-
PC
b
uild/
-
Parser/
-
Programs/
-
Python/
...
...
Doc/distutils/builtdist.rst
Dosyayı görüntüle @
f1502d09
...
...
@@ -368,7 +368,7 @@ Python itself for the platform you are targeting - it is not possible from a
binary installation of Python (as the .lib etc file for other platforms are
not included.) In practice, this means the user of a 32 bit operating
system will need to use Visual Studio 2008 to open the
:file:`PC
B
uild/PCbuild.sln` solution in the Python source tree and build the
:file:`PC
b
uild/PCbuild.sln` solution in the Python source tree and build the
"x64" configuration of the 'pythoncore' project before cross-compiling
extensions is possible.
...
...
Doc/library/test.rst
Dosyayı görüntüle @
f1502d09
...
...
@@ -186,7 +186,7 @@ options, run :program:`python -m test -h`.
Some other ways to execute the regression tests depend on what platform the
tests are being executed on. On Unix, you can run :program:`make test` at the
top-level directory where Python was built. On Windows,
executing :program:`rt.bat` from your :file:`PC
B
uild` directory will run all
executing :program:`rt.bat` from your :file:`PC
b
uild` directory will run all
regression tests.
...
...
Doc/make.bat
Dosyayı görüntüle @
f1502d09
...
...
@@ -5,7 +5,7 @@ pushd %~dp0
set this=%~n0
call ..\PC
B
uild\find_python.bat %PYTHON%
call ..\PC
b
uild\find_python.bat %PYTHON%
if not defined SPHINXBUILD if defined PYTHON (
%PYTHON% -c "import sphinx" > nul 2> nul
if errorlevel 1 (
...
...
Lib/distutils/sysconfig.py
Dosyayı görüntüle @
f1502d09
...
...
@@ -23,7 +23,7 @@ BASE_PREFIX = os.path.normpath(sys.base_prefix)
BASE_EXEC_PREFIX
=
os
.
path
.
normpath
(
sys
.
base_exec_prefix
)
# Path to the base directory of the project. On Windows the binary may
# live in project/PC
Build/win32 or project/PCB
uild/amd64.
# live in project/PC
build/win32 or project/PCb
uild/amd64.
# set for cross builds
if
"_PYTHON_PROJECT_BASE"
in
os
.
environ
:
project_base
=
os
.
path
.
abspath
(
os
.
environ
[
"_PYTHON_PROJECT_BASE"
])
...
...
Misc/NEWS.d/next/Build/2017-09-25-00-25-23.bpo-31569.TS49pM.rst
0 → 100644
Dosyayı görüntüle @
f1502d09
Correct PCBuild/ case to PCbuild/ in build scripts and documentation.
PC/bdist_wininst/bdist_wininst.vcxproj
Dosyayı görüntüle @
f1502d09
...
...
@@ -39,7 +39,7 @@
<RootNamespace>
wininst
</RootNamespace>
<SupportPGO>
false
</SupportPGO>
</PropertyGroup>
<Import
Project=
"..\..\PC
B
uild\python.props"
/>
<Import
Project=
"..\..\PC
b
uild\python.props"
/>
<Import
Project=
"$(VCTargetsPath)\Microsoft.Cpp.Default.props"
/>
<PropertyGroup
Label=
"Configuration"
>
<ConfigurationType>
Application
</ConfigurationType>
...
...
@@ -51,7 +51,7 @@
</ImportGroup>
<ImportGroup
Label=
"PropertySheets"
>
<Import
Project=
"$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"
Condition=
"exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')"
Label=
"LocalAppDataPlatform"
/>
<Import
Project=
"..\..\PC
B
uild\pyproject.props"
/>
<Import
Project=
"..\..\PC
b
uild\pyproject.props"
/>
</ImportGroup>
<PropertyGroup>
<_ProjectFileVersion>
10.0.30319.1
</_ProjectFileVersion>
...
...
PC/bdist_wininst/build.bat
Dosyayı görüntüle @
f1502d09
...
...
@@ -2,7 +2,7 @@
setlocal
set D=%~dp0
set PCBUILD=%~dp0..\..\PC
B
uild\
set PCBUILD=%~dp0..\..\PC
b
uild\
echo Building Lib\distutils\command\wininst-xx.0.exe
...
...
PC/launcher.c
Dosyayı görüntüle @
f1502d09
...
...
@@ -169,11 +169,11 @@ static size_t num_installed_pythons = 0;
static
wchar_t
*
location_checks
[]
=
{
L"
\\
"
,
L"
\\
PC
B
uild
\\
win32
\\
"
,
L"
\\
PC
B
uild
\\
amd64
\\
"
,
L"
\\
PC
b
uild
\\
win32
\\
"
,
L"
\\
PC
b
uild
\\
amd64
\\
"
,
/* To support early 32bit versions of Python that stuck the build binaries
* directly in PC
B
uild... */
L"
\\
PC
B
uild
\\
"
,
* directly in PC
b
uild... */
L"
\\
PC
b
uild
\\
"
,
NULL
};
...
...
PCbuild/python.props
Dosyayı görüntüle @
f1502d09
...
...
@@ -32,13 +32,13 @@
<PySourcePath
Condition=
"!HasTrailingSlash($(PySourcePath))"
>
$(PySourcePath)\
</PySourcePath>
<!-- Directory where build outputs are put -->
<BuildPath32
Condition=
"'$(Py_OutDir)' == ''"
>
$(PySourcePath)PC
B
uild\win32\
</BuildPath32>
<BuildPath32
Condition=
"'$(Py_OutDir)' == ''"
>
$(PySourcePath)PC
b
uild\win32\
</BuildPath32>
<BuildPath32
Condition=
"'$(Py_OutDir)' != ''"
>
$(Py_OutDir)\win32\
</BuildPath32>
<BuildPath64
Condition=
"'$(Py_OutDir)' == ''"
>
$(PySourcePath)PC
B
uild\amd64\
</BuildPath64>
<BuildPath64
Condition=
"'$(Py_OutDir)' == ''"
>
$(PySourcePath)PC
b
uild\amd64\
</BuildPath64>
<BuildPath64
Condition=
"'$(Py_OutDir)' != ''"
>
$(Py_OutDir)\amd64\
</BuildPath64>
<BuildPath
Condition=
"'$(ArchName)' == 'win32'"
>
$(BuildPath32)
</BuildPath>
<BuildPath
Condition=
"'$(ArchName)' == 'amd64'"
>
$(BuildPath64)
</BuildPath>
<BuildPath
Condition=
"'$(BuildPath)' == ''"
>
$(PySourcePath)PC
B
uild\$(ArchName)\
</BuildPath>
<BuildPath
Condition=
"'$(BuildPath)' == ''"
>
$(PySourcePath)PC
b
uild\$(ArchName)\
</BuildPath>
<BuildPath
Condition=
"!HasTrailingSlash($(BuildPath))"
>
$(BuildPath)\
</BuildPath>
<BuildPath
Condition=
"$(Configuration) == 'PGInstrument'"
>
$(BuildPath)instrumented\
</BuildPath>
...
...
@@ -118,11 +118,11 @@
Override the version number when building by specifying OverrideVersion.
For example:
PC
B
uild\build.bat "/p:OverrideVersion=3.5.2a1"
PC
b
uild\build.bat "/p:OverrideVersion=3.5.2a1"
Use the -V option to check your version is valid:
PC
B
uild\build.bat -V "/p:OverrideVersion=3.5.2a1"
PC
b
uild\build.bat -V "/p:OverrideVersion=3.5.2a1"
PythonVersionNumber: 3.5.2
PythonVersion: 3.5.2a1
PythonVersionHex: 0x030502A1
...
...
Tools/freeze/extensions_win32.ini
Dosyayı görüntüle @
f1502d09
...
...
@@ -26,34 +26,34 @@
; If you need others, add them here
[_socket]
dsp
=
%PYTHONPREFIX%
\P
C
B
uild
\_
socket.dsp
dsp
=
%PYTHONPREFIX%
\P
C
b
uild
\_
socket.dsp
[_sre]
dsp
=
%PYTHONPREFIX%
\P
C
B
uild
\_
sre.dsp
dsp
=
%PYTHONPREFIX%
\P
C
b
uild
\_
sre.dsp
[unicodedata]
dsp
=
%PYTHONPREFIX%
\P
C
B
uild
\u
nicodedata.dsp
dsp
=
%PYTHONPREFIX%
\P
C
b
uild
\u
nicodedata.dsp
[mmap]
dsp
=
%PYTHONPREFIX%
\P
C
B
uild
\m
map.dsp
dsp
=
%PYTHONPREFIX%
\P
C
b
uild
\m
map.dsp
[winsound]
dsp
=
%PYTHONPREFIX%
\P
C
B
uild
\w
insound.dsp
dsp
=
%PYTHONPREFIX%
\P
C
b
uild
\w
insound.dsp
libs
=
winmm.lib
[parser]
dsp
=
%PYTHONPREFIX%
\P
C
B
uild
\p
arser.dsp
dsp
=
%PYTHONPREFIX%
\P
C
b
uild
\p
arser.dsp
[select]
dsp
=
%PYTHONPREFIX%
\P
C
B
uild
\s
elect.dsp
dsp
=
%PYTHONPREFIX%
\P
C
b
uild
\s
elect.dsp
[zlib]
dsp
=
%PYTHONPREFIX%
\P
C
B
uild
\z
lib.dsp
dsp
=
%PYTHONPREFIX%
\P
C
b
uild
\z
lib.dsp
cl
=
/I %PYTHONPREFIX%
\.
.
\z
lib-1.1.4 /D _WINDOWS /D WIN32
libs
=
%PYTHONPREFIX%
\.
.
\z
lib-1.1.4
\z
lib.lib /nodefaultlib:libc
[winreg]
dsp
=
%PYTHONPREFIX%
\P
C
B
uild
\w
inreg.dsp
dsp
=
%PYTHONPREFIX%
\P
C
b
uild
\w
inreg.dsp
libs
=
advapi32.lib
...
...
Tools/msi/README.txt
Dosyayı görüntüle @
f1502d09
...
...
@@ -64,7 +64,7 @@ Building the Installer
Before building the installer, download extra build dependencies using
Tools\msi\get_externals.bat. (Note that this is in addition to the
similarly named file in PC
B
uild.)
similarly named file in PC
b
uild.)
For testing, the installer should be built with the Tools/msi/build.bat
script:
...
...
@@ -72,7 +72,7 @@ script:
build.bat [-x86] [-x64] [--doc] [--test-marker] [--pack]
This script will build the required configurations of Python and
generate an installer layout in PC
B
uild/(win32|amd64)/en-us.
generate an installer layout in PC
b
uild/(win32|amd64)/en-us.
Specify -x86 and/or -x64 to build for each platform. If neither is
specified, both platforms will be built. Currently, both the debug and
...
...
Tools/msi/build.bat
Dosyayı görüntüle @
f1502d09
@echo off
setlocal
set D=%~dp0
set PCBUILD=%D%..\..\PC
B
uild\
set PCBUILD=%D%..\..\PC
b
uild\
set BUILDX86=
set BUILDX64=
...
...
Tools/msi/buildrelease.bat
Dosyayı görüntüle @
f1502d09
...
...
@@ -28,7 +28,7 @@ rem {msi} MSI filename core.msi
set DOWNLOAD_URL=https://www.python.org/ftp/python/{version}/{arch}{releasename}/{msi}
set D=%~dp0
set PCBUILD=%D%..\..\PC
B
uild\
set PCBUILD=%D%..\..\PC
b
uild\
if "%Py_OutDir%"=="" set Py_OutDir=%PCBUILD%
set EXTERNALS=%D%..\..\externals\windows-installer\
...
...
Tools/msi/exe/exe.wixproj
Dosyayı görüntüle @
f1502d09
...
...
@@ -45,7 +45,7 @@
</Target>
<Target
Name=
"_MergeMiscNewsWithBlurb"
AfterTargets=
"PrepareForBuild"
Condition=
"$(Blurb) != '' and !Exists('$(PySourcePath)Misc\NEWS')"
>
<Exec
Command=
"$(Blurb) merge -f "$(BuildPath)NEWS.txt""
WorkingDirectory=
"$(PC
B
uild)"
/>
<Exec
Command=
"$(Blurb) merge -f "$(BuildPath)NEWS.txt""
WorkingDirectory=
"$(PC
b
uild)"
/>
</Target>
<Target
Name=
"_MergeMiscNewsWithPython"
AfterTargets=
"PrepareForBuild"
Condition=
"$(Blurb) == '' and !Exists('$(PySourcePath)Misc\NEWS')"
>
...
...
@@ -58,8 +58,8 @@
<HostPython>
@(HostPython)
</HostPython>
<HostPython
Condition=
"$(HostPython.Contains(';'))"
>
$(HostPython.Remove($(HostPython.IndexOf(';'))))
</HostPython>
</PropertyGroup>
<Exec
Command=
""$(HostPython)" -m pip install -U blurb"
WorkingDirectory=
"$(PC
B
uild)"
/>
<Exec
Command=
""$(HostPython)" -m blurb merge -f "$(BuildPath)NEWS.txt""
WorkingDirectory=
"$(PC
B
uild)"
/>
<Exec
Command=
""$(HostPython)" -m pip install -U blurb"
WorkingDirectory=
"$(PC
b
uild)"
/>
<Exec
Command=
""$(HostPython)" -m blurb merge -f "$(BuildPath)NEWS.txt""
WorkingDirectory=
"$(PC
b
uild)"
/>
</Target>
<Import
Project=
"..\msi.targets"
/>
...
...
Tools/msi/launcher/launcher.wixproj
Dosyayı görüntüle @
f1502d09
...
...
@@ -20,16 +20,16 @@
</ItemGroup>
<Target
Name=
"_EnsurePyEx86"
Condition=
"!Exists('$(BuildPath32)py.exe')"
BeforeTargets=
"PrepareForBuild"
>
<MSBuild
Projects=
"$(PySourcePath)PC
B
uild\pylauncher.vcxproj"
Properties=
"Platform=Win32"
/>
<MSBuild
Projects=
"$(PySourcePath)PC
b
uild\pylauncher.vcxproj"
Properties=
"Platform=Win32"
/>
</Target>
<Target
Name=
"_EnsurePywEx86"
Condition=
"!Exists('$(BuildPath32)pyw.exe')"
BeforeTargets=
"PrepareForBuild"
>
<MSBuild
Projects=
"$(PySourcePath)PC
B
uild\pywlauncher.vcxproj"
Properties=
"Platform=Win32"
/>
<MSBuild
Projects=
"$(PySourcePath)PC
b
uild\pywlauncher.vcxproj"
Properties=
"Platform=Win32"
/>
</Target>
<Target
Name=
"_EnsurePyShellExt86"
Condition=
"!Exists('$(BuildPath32)pyshellext.dll')"
BeforeTargets=
"PrepareForBuild"
>
<MSBuild
Projects=
"$(PySourcePath)PC
B
uild\pyshellext.vcxproj"
Properties=
"Platform=Win32"
/>
<MSBuild
Projects=
"$(PySourcePath)PC
b
uild\pyshellext.vcxproj"
Properties=
"Platform=Win32"
/>
</Target>
<Target
Name=
"_EnsurePyShellExt64"
Condition=
"!Exists('$(BuildPath64)pyshellext.dll')"
BeforeTargets=
"PrepareForBuild"
>
<MSBuild
Projects=
"$(PySourcePath)PC
B
uild\pyshellext.vcxproj"
Properties=
"Platform=x64"
/>
<MSBuild
Projects=
"$(PySourcePath)PC
b
uild\pyshellext.vcxproj"
Properties=
"Platform=x64"
/>
</Target>
<Import
Project=
"..\msi.targets"
/>
...
...
Tools/msi/msi.props
Dosyayı görüntüle @
f1502d09
...
...
@@ -15,7 +15,7 @@
</PropertyGroup>
<Import
Project=
"wix.props"
/>
<Import
Project=
"..\..\PC
B
uild\tcltk.props"
/>
<Import
Project=
"..\..\PC
b
uild\tcltk.props"
/>
<PropertyGroup>
<!--
...
...
Tools/msi/testrelease.bat
Dosyayı görüntüle @
f1502d09
...
...
@@ -2,7 +2,7 @@
@echo off
set D=%~dp0
set PCBUILD=%D%..\..\PC
B
uild\
set PCBUILD=%D%..\..\PC
b
uild\
set TARGETDIR=%TEMP%
set TESTX86=
...
...
Tools/msi/uploadrelease.bat
Dosyayı görüntüle @
f1502d09
...
...
@@ -2,7 +2,7 @@
@echo off
set D=%~dp0
set PCBUILD=%D%..\..\PC
B
uild\
set PCBUILD=%D%..\..\PC
b
uild\
set HOST=
set USER=
...
...
Tools/msi/wix.props
Dosyayı görüntüle @
f1502d09
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"4.0"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<Import
Project=
"..\..\PC
B
uild\python.props"
/>
<Import
Project=
"..\..\PC
b
uild\python.props"
/>
<PropertyGroup>
<WixInstallPath
Condition=
"'$(WixInstallPath)' == '' and Exists('$(MSBuildThisFileDirectory)\Wix')"
>
$(MSBuildThisFileDirectory)\Wix\
</WixInstallPath>
...
...
Tools/nuget/build.bat
Dosyayı görüntüle @
f1502d09
@echo off
setlocal
set D=%~dp0
set PCBUILD=%D%..\..\PC
B
uild\
set PCBUILD=%D%..\..\PC
b
uild\
if "%Py_OutDir%"=="" set Py_OutDir=%PCBUILD%
set BUILDX86=
...
...
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