We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 946d521 commit d1e89fdCopy full SHA for d1e89fd
cpydist/__init__.py
@@ -41,7 +41,7 @@
41
from distutils.command.install_lib import install_lib
42
from distutils.core import Command
43
from distutils.dir_util import mkpath, remove_tree
44
-from distutils.sysconfig import get_python_version
+from distutils.sysconfig import get_config_vars, get_python_version
45
from distutils.version import LooseVersion
46
from subprocess import check_call, Popen, PIPE
47
@@ -57,6 +57,9 @@
57
with open(version_py, "rb") as fp:
58
exec(compile(fp.read(), version_py, "exec"))
59
60
+if "MACOSX_DEPLOYMENT_TARGET" in get_config_vars():
61
+ get_config_vars()["MACOSX_DEPLOYMENT_TARGET"] = "11.0"
62
+
63
COMMON_USER_OPTIONS = [
64
("byte-code-only", None,
65
"remove Python .py files; leave byte code .pyc only"),
0 commit comments