File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 "python.defaultInterpreterPath" : " python3" ,
66 "modulename" : " ${workspaceFolderBasename}" ,
77 "distname" : " ${workspaceFolderBasename}" ,
8- "moduleversion" : " 1.0.2"
98}
Original file line number Diff line number Diff line change 128128 "type" : " process" ,
129129 "command" : " sphinx-apidoc" ,
130130 "args" : [
131- " --doc-project=${config:modulename}" ,
132- " --doc-author=semuadmin" ,
133- " --doc-version=${config:moduleversion}" ,
134- " --doc-release=${config:moduleversion}" ,
135131 " --ext-autodoc" ,
136132 " --ext-viewcode" ,
137133 " --templatedir=docs" ,
180176 },
181177 {
182178 "label" : " Install Locally" ,
183- "type" : " process " ,
179+ "type" : " shell " ,
184180 "command" : " ${config:python.defaultInterpreterPath}" ,
185181 "args" : [
186182 " -m" ,
187183 " pip" ,
188184 " install" ,
189- " ${workspaceFolder}/dist/${config:distname}-${config:moduleversion}-py3-none-any.whl" ,
190185 " --user" ,
191- " --force-reinstall"
186+ " --force-reinstall" ,
187+ " *.whl"
192188 ],
193189 "dependsOrder" : " sequence" ,
194190 "dependsOn" : [
202198 " Build" ,
203199 " Sphinx HTML"
204200 ],
201+ "options" : {
202+ "cwd" : " dist"
203+ },
205204 "problemMatcher" : []
206205 },
207206 ]
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ build-backend = "setuptools.build_meta:__legacy__"
44
55[project ]
66name = " pyubxutils"
7+ dynamic = [" version" ]
78authors = [{ name = " semuadmin" , email = " semuadmin@semuconsulting.com" }]
89maintainers = [{ name = " semuadmin" , email = " semuadmin@semuconsulting.com" }]
910description = " UBX Protocol Command Line Utilities"
10- version = " 1.0.2"
1111license = { file = " LICENSE" }
1212readme = " README.md"
1313requires-python = " >=3.9"
@@ -62,6 +62,9 @@ test = [
6262 " sphinx-rtd-theme" ,
6363]
6464
65+ [tool .setuptools .dynamic ]
66+ version = { attr = " pyubxutils._version.__version__" }
67+
6568[tool .black ]
6669target-version = [' py39' ]
6770
You can’t perform that action at this time.
0 commit comments