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 {