Skip to content

Commit f1502d0

Browse files
gronkepfmoore
authored andcommitted
bpo-31569: correct PCBuild/ case to PCbuild/ in build scripts and docs (GH-3711)
1 parent 8110dbd commit f1502d0

File tree

22 files changed

+44
-43
lines changed

22 files changed

+44
-43
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Python/bootstrap_hash.c @python/crypto-team
3535

3636
# Windows
3737
/PC/ @python/windows-team
38-
/PCBuild/ @python/windows-team
38+
/PCbuild/ @python/windows-team
3939

4040
# Windows installer packages
4141
/Tools/msi/ @python/windows-team

.github/appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ only_commits:
2828
- Modules/
2929
- Objects/
3030
- PC/
31-
- PCBuild/
31+
- PCbuild/
3232
- Parser/
3333
- Programs/
3434
- Python/

Doc/distutils/builtdist.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ Python itself for the platform you are targeting - it is not possible from a
368368
binary installation of Python (as the .lib etc file for other platforms are
369369
not included.) In practice, this means the user of a 32 bit operating
370370
system will need to use Visual Studio 2008 to open the
371-
:file:`PCBuild/PCbuild.sln` solution in the Python source tree and build the
371+
:file:`PCbuild/PCbuild.sln` solution in the Python source tree and build the
372372
"x64" configuration of the 'pythoncore' project before cross-compiling
373373
extensions is possible.
374374

Doc/library/test.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ options, run :program:`python -m test -h`.
186186
Some other ways to execute the regression tests depend on what platform the
187187
tests are being executed on. On Unix, you can run :program:`make test` at the
188188
top-level directory where Python was built. On Windows,
189-
executing :program:`rt.bat` from your :file:`PCBuild` directory will run all
189+
executing :program:`rt.bat` from your :file:`PCbuild` directory will run all
190190
regression tests.
191191

192192

Doc/make.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pushd %~dp0
55

66
set this=%~n0
77

8-
call ..\PCBuild\find_python.bat %PYTHON%
8+
call ..\PCbuild\find_python.bat %PYTHON%
99
if not defined SPHINXBUILD if defined PYTHON (
1010
%PYTHON% -c "import sphinx" > nul 2> nul
1111
if errorlevel 1 (

Lib/distutils/sysconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
BASE_EXEC_PREFIX = os.path.normpath(sys.base_exec_prefix)
2424

2525
# Path to the base directory of the project. On Windows the binary may
26-
# live in project/PCBuild/win32 or project/PCBuild/amd64.
26+
# live in project/PCbuild/win32 or project/PCbuild/amd64.
2727
# set for cross builds
2828
if "_PYTHON_PROJECT_BASE" in os.environ:
2929
project_base = os.path.abspath(os.environ["_PYTHON_PROJECT_BASE"])
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Correct PCBuild/ case to PCbuild/ in build scripts and documentation.

PC/bdist_wininst/bdist_wininst.vcxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<RootNamespace>wininst</RootNamespace>
4040
<SupportPGO>false</SupportPGO>
4141
</PropertyGroup>
42-
<Import Project="..\..\PCBuild\python.props" />
42+
<Import Project="..\..\PCbuild\python.props" />
4343
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
4444
<PropertyGroup Label="Configuration">
4545
<ConfigurationType>Application</ConfigurationType>
@@ -51,7 +51,7 @@
5151
</ImportGroup>
5252
<ImportGroup Label="PropertySheets">
5353
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
54-
<Import Project="..\..\PCBuild\pyproject.props" />
54+
<Import Project="..\..\PCbuild\pyproject.props" />
5555
</ImportGroup>
5656
<PropertyGroup>
5757
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>

PC/bdist_wininst/build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
setlocal
33

44
set D=%~dp0
5-
set PCBUILD=%~dp0..\..\PCBuild\
5+
set PCBUILD=%~dp0..\..\PCbuild\
66

77

88
echo Building Lib\distutils\command\wininst-xx.0.exe

PC/launcher.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,11 @@ static size_t num_installed_pythons = 0;
169169

170170
static wchar_t * location_checks[] = {
171171
L"\\",
172-
L"\\PCBuild\\win32\\",
173-
L"\\PCBuild\\amd64\\",
172+
L"\\PCbuild\\win32\\",
173+
L"\\PCbuild\\amd64\\",
174174
/* To support early 32bit versions of Python that stuck the build binaries
175-
* directly in PCBuild... */
176-
L"\\PCBuild\\",
175+
* directly in PCbuild... */
176+
L"\\PCbuild\\",
177177
NULL
178178
};
179179

0 commit comments

Comments
 (0)