Skip to content

Commit f968c31

Browse files
committed
Setting ensurepip=install on macOS
1 parent 606818e commit f968c31

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

python3-macos/MacOS/build-installer.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,18 +1047,18 @@ def buildPython():
10471047
"%s "
10481048
"%s "
10491049
"%s "
1050-
#"%s "
1050+
"%s "
10511051
"%s "
10521052
"%s "
10531053
"LDFLAGS='-g -L%s/libraries/usr/local/lib' "
10541054
"CFLAGS='-g -I%s/libraries/usr/local/include' 2>&1"%(
10551055
shellQuote(os.path.join(SRCDIR, 'configure')),
10561056
UNIVERSALARCHS,
1057-
(' ', '--with-computed-gotos ')[PYTHON_3],
1058-
(' ', '--with-ensurepip=install ')[PYTHON_3],
1057+
(' ', '--with-computed-gotos')[PYTHON_3],
1058+
(' ', '--with-ensurepip=install')[PYTHON_3],
10591059
(' ', "--with-openssl='%s/libraries/usr/local'"%(
10601060
shellQuote(WORKDIR)[1:-1],))[PYTHON_3],
1061-
#(' ', "--enable-optimizations --with-lto")[compilerCanOptimize()],
1061+
(' ', "--enable-optimizations")[compilerCanOptimize()],
10621062
(' ', "TCLTK_CFLAGS='-I%s/libraries/usr/local/include'"%(
10631063
shellQuote(WORKDIR)[1:-1],))[internalTk()],
10641064
(' ', "TCLTK_LIBS='-L%s/libraries/usr/local/lib -ltcl8.6 -ltk8.6'"%(

0 commit comments

Comments
 (0)