Skip to content

Commit 8abf059

Browse files
committed
Replace Mac/ with Platforms/Mac/
1 parent 059decb commit 8abf059

File tree

13 files changed

+48
-47
lines changed

13 files changed

+48
-47
lines changed

Doc/using/configure.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ Security Options
11471147
macOS Options
11481148
-------------
11491149

1150-
See :source:`Mac/README.rst`.
1150+
See :source:`Platforms/Mac/README.rst`.
11511151

11521152
.. option:: --enable-universalsdk
11531153
.. option:: --enable-universalsdk=SDKDIR

Doc/using/ios.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ review rules cannot be challenged; so, it is necessary to modify the Python
341341
standard library for an app to pass App Store review.
342342

343343
The Python source tree contains
344-
:source:`a patch file <Mac/Resources/app-store-compliance.patch>` that will remove
344+
:source:`a patch file <Platforms/Mac/Resources/app-store-compliance.patch>` that will remove
345345
all code that is known to cause issues with the App Store review process. This
346346
patch is applied automatically when building for iOS.
347347

Doc/using/mac.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ review rules cannot be challenged. Therefore, it is necessary to modify the
455455
Python standard library for an app to pass App Store review.
456456

457457
The Python source tree contains
458-
:source:`a patch file <Mac/Resources/app-store-compliance.patch>` that will remove
458+
:source:`a patch file <Platforms/Mac/Resources/app-store-compliance.patch>` that will remove
459459
all code that is known to cause issues with the App Store review process. This
460460
patch is applied automatically when CPython is configured with the
461461
:option:`--with-app-store-compliance` option.

Lib/test/test_os/test_posix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2322,7 +2322,7 @@ class TestPosixWeaklinking(unittest.TestCase):
23222322
# as expected. These cases only test new behaviour introduced by weak linking,
23232323
# regular behaviour is tested by the normal test cases.
23242324
#
2325-
# See the section on Weak Linking in Mac/README.txt for more information.
2325+
# See the section on Weak Linking in Platforms/Mac/README.txt for more information.
23262326
def setUp(self):
23272327
import sysconfig
23282328
import platform

Lib/test/test_plistlib.py

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

2323
ALL_FORMATS=(plistlib.FMT_XML, plistlib.FMT_BINARY)
2424

25-
# The testdata is generated using Mac/Tools/plistlib_generate_testdata.py
25+
# The testdata is generated using Platforms/Mac/Tools/plistlib_generate_testdata.py
2626
# (which using PyObjC to control the Cocoa classes for generating plists)
2727
TESTDATA={
2828
plistlib.FMT_XML: binascii.a2b_base64(b'''

Lib/test/test_time.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1198,7 +1198,7 @@ class TestTimeWeaklinking(unittest.TestCase):
11981198
# as expected. These cases only test new behaviour introduced by weak linking,
11991199
# regular behaviour is tested by the normal test cases.
12001200
#
1201-
# See the section on Weak Linking in Mac/README.txt for more information.
1201+
# See the section on Weak Linking in Platforms/Mac/README.txt for more information.
12021202
def test_clock_functions(self):
12031203
import sysconfig
12041204
import platform

Makefile.pre.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2469,7 +2469,7 @@ altbininstall: $(BUILDPYTHON) @FRAMEWORKPYTHONW@
24692469
if test "$(PYTHONFRAMEWORKDIR)" = "no-framework" ; then \
24702470
$(INSTALL_PROGRAM) $(BUILDPYTHON) $(DESTDIR)$(BINDIR)/python$(LDVERSION)$(EXE); \
24712471
else \
2472-
$(INSTALL_PROGRAM) $(STRIPFLAG) Mac/pythonw $(DESTDIR)$(BINDIR)/python$(LDVERSION)$(EXE); \
2472+
$(INSTALL_PROGRAM) $(STRIPFLAG) Platforms/Mac/pythonw $(DESTDIR)$(BINDIR)/python$(LDVERSION)$(EXE); \
24732473
fi
24742474
-if test "$(VERSION)" != "$(LDVERSION)"; then \
24752475
if test -f $(DESTDIR)$(BINDIR)/python$(VERSION)$(EXE) -o -h $(DESTDIR)$(BINDIR)/python$(VERSION)$(EXE); \
@@ -3102,7 +3102,7 @@ frameworkinstallunversionedstructure: $(LDLIBRARY)
31023102
$(INSTALL) -m $(EXEMODE) $$file $(DESTDIR)$(BINDIR); \
31033103
done
31043104

3105-
# This installs Mac/Lib into the framework
3105+
# This installs Platforms/Mac/Lib into the framework
31063106
# Install a number of symlinks to keep software that expects a normal unix
31073107
# install (which includes python-config) happy.
31083108
.PHONY: frameworkinstallmaclib

Platforms/Mac/BuildScript/build-installer.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,13 @@ def getFullVersion():
144144

145145
ARCHLIST = universal_opts_map[UNIVERSALARCHS]
146146

147-
# Source directory (assume we're in Mac/BuildScript)
147+
# Source directory (assume we're in Platforms/Mac/BuildScript)
148148
SRCDIR = os.path.dirname(
149-
os.path.dirname(
149+
os.path.dirname(
150150
os.path.dirname(
151-
os.path.abspath(__file__
152-
))))
151+
os.path.dirname(
152+
os.path.abspath(__file__
153+
)))))
153154

154155
# $MACOSX_DEPLOYMENT_TARGET -> minimum OS X level
155156
DEPTARGET = '10.5'

Platforms/Mac/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,4 +273,4 @@ clean:
273273
cd PythonLauncher && make clean
274274

275275
Makefile: $(srcdir)/Makefile.in ../config.status
276-
cd .. && CONFIG_FILES=Mac/Makefile CONFIG_HEADERS= $(SHELL) ./config.status
276+
cd .. && CONFIG_FILES=Platforms/Mac/Makefile CONFIG_HEADERS= $(SHELL) ./config.status

Platforms/Mac/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ How do I create a binary distribution?
317317
======================================
318318

319319
Download and unpack the source release from https://www.python.org/download/.
320-
Go to the directory ``Mac/BuildScript``. There you will find a script
320+
Go to the directory ``Platofmrs/Mac/BuildScript``. There you will find a script
321321
``build-installer.py`` that does all the work. This will download and build
322322
a number of 3rd-party libraries, configures and builds a framework Python,
323323
installs it, creates the installer package files and then packs this in a

0 commit comments

Comments
 (0)