File tree 4 files changed +11
-10
lines changed
4 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 6
6
"configurations" : [
7
7
{
8
8
"name" : " Python: Module" ,
9
- "type" : " python " ,
9
+ "type" : " debugpy " ,
10
10
"request" : " launch" ,
11
11
"module" : " pymandel"
12
12
}
Original file line number Diff line number Diff line change 6
6
"editor.formatOnSave" : true ,
7
7
"modulename" : " pymandel" ,
8
8
"distname" : " pymandel" ,
9
- "moduleversion" : " 1.0.13"
10
9
}
Original file line number Diff line number Diff line change 128
128
"type" : " process" ,
129
129
"command" : " sphinx-apidoc" ,
130
130
"args" : [
131
- " --doc-project=${config:modulename}" ,
132
- " --doc-author=semuadmin" ,
133
- " --doc-version=${config:moduleversion}" ,
134
- " --doc-release=${config:moduleversion}" ,
135
131
" --ext-autodoc" ,
136
132
" --ext-viewcode" ,
137
133
" --templatedir=docs" ,
180
176
},
181
177
{
182
178
"label" : " Install Locally" ,
183
- "type" : " process " ,
179
+ "type" : " shell " ,
184
180
"command" : " ${config:python.defaultInterpreterPath}" ,
185
181
"args" : [
186
182
" -m" ,
187
183
" pip" ,
188
184
" install" ,
189
- " ${workspaceFolder}/dist/${config:distname}-${config:moduleversion}-py3-none-any.whl" ,
190
185
" --user" ,
191
- " --force-reinstall"
186
+ " --force-reinstall" ,
187
+ " *.whl"
192
188
],
193
189
"dependsOrder" : " sequence" ,
194
190
"dependsOn" : [
202
198
" Build" ,
203
199
" Sphinx HTML"
204
200
],
201
+ "options" : {
202
+ "cwd" : " dist"
203
+ },
205
204
"problemMatcher" : []
206
205
},
207
206
]
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ build-backend = "setuptools.build_meta:__legacy__"
4
4
5
5
[project ]
6
6
name = " pymandel"
7
+ dynamic = [" version" ]
7
8
authors = [{
name =
" semuadmin" ,
email =
" [email protected] " }]
8
9
maintainers = [{
name =
" semuadmin" ,
email =
" [email protected] " }]
9
10
description = " Fractal generation GUI application"
10
- version = " 1.0.13"
11
11
license = { file = " LICENSE" }
12
12
keywords = [
13
13
" PyMandel" ,
@@ -65,6 +65,9 @@ test = [
65
65
" sphinx-rtd-theme" ,
66
66
]
67
67
68
+ [tool .setuptools .dynamic ]
69
+ version = { attr = " pymandel._version.__version__" }
70
+
68
71
[tool .black ]
69
72
line-length = 88
70
73
target-version = [' py39' ]
You can’t perform that action at this time.
0 commit comments