-
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.
Update README.md and add publish_new_release.txt
- Loading branch information
1 parent
d62e1a0
commit 915e15b
Showing
3 changed files
with
33 additions
and
17 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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# 1. Merge a working branch to the main branch first. | ||
|
||
# 2. Clone the main branch in a new clean directory. | ||
|
||
# 3. (If needed) Install setuptools and wheel. | ||
|
||
# 4. Create wheel and source files. | ||
python2 setup.py sdist bdist_wheel (deprecated) | ||
python3 setup.py sdist bdist_wheel | ||
|
||
# 5. (If needed) Install twine. | ||
|
||
# 6. Upload wheel and source files to the PyPI repository. | ||
twine upload dist/* | ||
|
||
# 7. (Optional) Upload to Anaconda repository. | ||
~/anaconda3/bin/anaconda upload dist/*.tar.gz | ||
# or | ||
anaconda upload dist/*.tar.gz | ||
|
||
# 8. Publish a new release at GitHub. | ||
## Create a tag at GitHub. | ||
## Make sure that it is created in the main branch. | ||
## Assign the tag to a new release. | ||
## The name convention of tags is "v0.5.5". | ||
## Upload the wheel and source files, which can be downloaded from the PyPI repository, together. | ||
|
||
# 9. Check out Zenodo or upload the release on Zenodo. | ||
## To upload the release, download a ZIP file from a particular tag. |