summaryrefslogtreecommitdiffstats
path: root/Tools/ssl
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-07-14 07:51:49 (GMT)
committerGitHub <noreply@github.com>2022-07-14 07:51:49 (GMT)
commit81dca70d704d0834d8c30580e648a973250b2973 (patch)
tree4c3fbd011e05692ae1720457d0e7602484b8dd26 /Tools/ssl
parentb03a9e8c8a4f3f5bb7196d4825fbfdaff022756f (diff)
downloadcpython-81dca70d704d0834d8c30580e648a973250b2973.zip
cpython-81dca70d704d0834d8c30580e648a973250b2973.tar.gz
cpython-81dca70d704d0834d8c30580e648a973250b2973.tar.bz2
gh-93939: Build C extensions without setup.py (GH-94474)
Combines GH-93940, GH-94452, and GH-94433
Diffstat (limited to 'Tools/ssl')
-rwxr-xr-xTools/ssl/multissltests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/ssl/multissltests.py b/Tools/ssl/multissltests.py
index fc6b2d0..24ddd2a 100755
--- a/Tools/ssl/multissltests.py
+++ b/Tools/ssl/multissltests.py
@@ -358,7 +358,7 @@ class AbstractBuilder(object):
env["LD_RUN_PATH"] = self.lib_dir
log.info("Rebuilding Python modules")
- cmd = [sys.executable, os.path.join(PYTHONROOT, "setup.py"), "build"]
+ cmd = ["make", "sharedmods", "checksharedmods"]
self._subprocess_call(cmd, env=env)
self.check_imports()
@@ -472,7 +472,7 @@ def main():
start = datetime.now()
if args.steps in {'modules', 'tests'}:
- for name in ['setup.py', 'Modules/_ssl.c']:
+ for name in ['Makefile.pre.in', 'Modules/_ssl.c']:
if not os.path.isfile(os.path.join(PYTHONROOT, name)):
parser.error(
"Must be executed from CPython build dir"