From 4cd7f9794ff59c1af40dd79d13cbaa931af74f40 Mon Sep 17 00:00:00 2001 From: Andrew Stein Date: Tue, 2 Aug 2022 05:03:29 -0400 Subject: [PATCH] Fix python requires on windows --- scripts/_requires_python.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_requires_python.js b/scripts/_requires_python.js index bb825e55b8..8b3ae9aed7 100644 --- a/scripts/_requires_python.js +++ b/scripts/_requires_python.js @@ -14,7 +14,7 @@ const { } = require("./script_utils.js"); let PYTHON = python_version(); -const requires_script = `'import distutils.core; setup = distutils.core.run_setup("python/perspective/setup.py"); print(" ".join(["\\"" + requirement + "\\"" for requirement in setup.extras_require["dev"]]))'`; +const requires_script = `"import distutils.core; setup = distutils.core.run_setup('python/perspective/setup.py'); print(' '.join(['\\\"' + requirement + '\\\"' for requirement in setup.extras_require['dev']]))"`; (async () => { try {