-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cce538f
commit 7ce3ba4
Showing
3 changed files
with
37 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,13 @@ | ||
# How to publish to PyPI | ||
|
||
1) If present remove dist folder | ||
1) Update the version number in `xmipy/__init__.py`. | ||
|
||
2) Recursively remove all .egg-info files | ||
On powershell you can do this with | ||
``` | ||
rm -r *.egg-info | ||
``` | ||
|
||
3) Update the version number in `xmipy/__init__.py`. | ||
|
||
4) If not done yet, install build and twine via | ||
``` | ||
pip install build twine | ||
``` | ||
|
||
5) Re-create the wheels: | ||
``` | ||
python -m build | ||
``` | ||
|
||
6) Check the package files: | ||
``` | ||
twine check dist/* | ||
``` | ||
|
||
7) Make a new commit with the updated version number, | ||
2) Make a new commit with the updated version number, | ||
and push to remote | ||
|
||
8) Make a new github release | ||
3) Make a new github release | ||
|
||
9) Re-upload the new files: | ||
4) Publish to PyPI: | ||
``` | ||
twine upload dist/* | ||
pixi run publish-build | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters