Skip to content

Commit

Permalink
remove moduleversion from vscode tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
semuadmin committed Jan 1, 2025
1 parent ecc9cca commit a3001ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@
"editor.formatOnSave": true,
"modulename": "${workspaceFolderBasename}",
"distname": "${workspaceFolderBasename}",
"moduleversion": "1.0.1",
}
13 changes: 6 additions & 7 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,6 @@
"type": "process",
"command": "sphinx-apidoc",
"args": [
"--doc-project=${config:modulename}",
"--doc-author=semuadmin",
"--doc-version=${config:moduleversion}",
"--doc-release=${config:moduleversion}",
"--ext-autodoc",
"--ext-viewcode",
"--templatedir=docs",
Expand Down Expand Up @@ -163,15 +159,15 @@
},
{
"label": "Install Locally",
"type": "process",
"type": "shell",
"command": "${config:python.defaultInterpreterPath}",
"args": [
"-m",
"pip",
"install",
"${workspaceFolder}/dist/${config:distname}-${config:moduleversion}-py3-none-any.whl",
"--user",
"--force-reinstall"
"--force-reinstall",
"*.whl"
],
"dependsOrder": "sequence",
"dependsOn": [
Expand All @@ -185,6 +181,9 @@
"Build",
"Sphinx HTML"
],
"options": {
"cwd": "dist"
},
"problemMatcher": []
},
]
Expand Down

0 comments on commit a3001ef

Please sign in to comment.