File tree Expand file tree Collapse file tree 5 files changed +32
-4
lines changed
Expand file tree Collapse file tree 5 files changed +32
-4
lines changed Original file line number Diff line number Diff line change 134134 "editor.guides.bracketPairs" : true ,
135135 "cSpell.words" : [
136136 " initializable" ,
137- " phmap"
137+ " phmap" ,
138+ " pypi"
138139 ]
139140}
Original file line number Diff line number Diff line change @@ -227,6 +227,33 @@ cd ./scripts/wheel/meshsdk
227227pip install .
228228# Check the installed `meshsdk`
229229pip list | grep meshsdk
230+
231+
232+ # Publish
233+ cd ./scripts/wheel/meshsdk
234+ pip install --upgrade build twine
235+ python -m build
236+
237+ # [distutils]
238+ # index-servers =
239+ # pypi
240+ # testpypi
241+
242+ # [pypi]
243+ # username = __token__
244+ # password = <u-token>
245+ # [testpypi]
246+ # username = __token__
247+ # password = <u-token>
248+ vi ~ /.pyirc
249+
250+ # test
251+ twine upload --repository testpypi dist/*
252+ pip install -i https://test.pypi.org/simple meshsdk
253+
254+ # official
255+ twine upload dist/*
256+ pip install meshsdk
230257```
231258
232259> Run the generator on different platforms
Original file line number Diff line number Diff line change 2020
2121
2222# Save result
23- mrmeshpy .saveMesh (result_mesh , "offsetMesh .stl" )
23+ mrmeshpy .saveMesh (result_mesh , "MeshOffset .stl" )
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ requires = ["setuptools >= 61.0"]
33build-backend = " setuptools.build_meta"
44
55[project ]
6- name = " meshsdk "
6+ name = " asmesh "
77description = " 3D processing library"
88authors = [
99 {
name =
" alpinebuster" ,
email =
" [email protected] " },
Original file line number Diff line number Diff line change 3838long_description = (here / "README.md" ).read_text (encoding = "utf-8" )
3939
4040setuptools .setup (
41- name = "meshsdk " ,
41+ name = "asmesh " ,
4242 version = VERSION ,
4343 author = "alpinebuster" ,
4444
You can’t perform that action at this time.
0 commit comments