Skip to content

Commit

Permalink
Publish package in Pypi.org - egg no more supported, using wheel instead
Browse files Browse the repository at this point in the history
  • Loading branch information
“sosie-js” committed Aug 14, 2024
1 parent 5eb0ec6 commit 5b0869f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,11 @@ $ ./package.sh
```shell
$ python3 -m pip install --user --upgrade twine
```
3. Upload the bundle
3. Build the wheel bundle (.egg no more recongnized)
```shell
$ sudo rm -rf dist/&sudo rm -rf build&sudo python3 setup.py bdist_wheel
```
4. Upload the bundle
```shell
$ python3 -m twine upload dist/*
```
Expand Down
2 changes: 1 addition & 1 deletion package.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sudo rm -rf dist/&sudo rm -rf build&sudo python3 setup.py install
sudo rm -rf dist/&sudo rm -rf build&sudo python3 setup.py bdist_wheel
2 changes: 2 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#egg format is no more recognized
twine upload dist/*

0 comments on commit 5b0869f

Please sign in to comment.