There was an error while loading. Please reload this page.
1 parent 934c177 commit b48336dCopy full SHA for b48336d
publish_notes.md
@@ -0,0 +1,34 @@
1
+# how to publish to pypi
2
+
3
+## start with testing if the project builds and tag the version
4
5
+```bash
6
+python -m venv venv
7
+source venv/bin/activate
8
+pip install -e .
9
+pytest
10
+git tag v0.3.0
11
+git push origin v0.3.0
12
+```
13
14
+## build and new package
15
16
+(according to https://packaging.python.org/en/latest/tutorials/packaging-projects/)
17
18
19
+pip install build twine
20
+python3 -m build
21
+vi ~/.pypirc
22
+twine check dist/*
23
24
25
+Now, for next time.. test install the package in a new vanilla environment, then..
26
27
28
+twine upload dist/*
29
30
31
+## repo todos
32
33
+- rebase development upon main
34
+- bump the pyproject version number to a new `-dev`
0 commit comments