{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "tasks": [ { "label": "Activate virtual environment", "type": "shell", "command": "source .venv/bin/activate" }, { "label": "Build package", "type": "shell", "command": "${command:python.interpreterPath}", "args": ["-m", "build"] }, { "label": "Upload package to test", "type": "shell", "command": "${command:python.interpreterPath}", "args": [ "-m", "twine", "upload", "--repository", "testpypi", "dist/*" ] } ] }