Skip to content

Commit a1f115c

Browse files
authored
Add prepublish for python extension (#579)
1 parent 28f209c commit a1f115c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

extensions.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,10 @@
770770
"prepublish": "npm i && cd packages/vscode-pyright && npm run prepackage"
771771
},
772772
"ms-python.python": {
773-
"repository": "https://github.com/microsoft/vscode-python"
773+
"repository": "https://github.com/microsoft/vscode-python",
774+
"prepublish": "PIP_USER=no python3 -m pip --disable-pip-version-check install -r build/debugger-install-requirements.txt && python3 ./pythonFiles/install_debugpy.py && python3 -m pip install --no-deps --require-hashes --only-binary :all: -t ./pythonFiles/lib/python --implementation py -r ./requirements.txt && python3 -m pip install --no-deps --require-hashes --only-binary :all: -t ./pythonFiles/lib/jedilsp --implementation py --platform any --abi none -r ./pythonFiles/jedilsp_requirements/requirements.txt && python3 ./build/update_ext_version.py --release --for-publishing && npm run addExtensionPackDependencies && npm run package",
775+
"extensionFile": "ms-python-insiders.vsix",
776+
"timeout": 30
774777
},
775778
"ms-toolsai.jupyter": {
776779
"repository": "https://github.com/microsoft/vscode-jupyter",

0 commit comments

Comments
 (0)