-
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 pyproject.toml and publishing guide
- Loading branch information
1 parent
ec9d5f6
commit c833c80
Showing
2 changed files
with
10 additions
and
12 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,29 +1,26 @@ | ||
# 0. (If needed) Install setuptools, wheel, and twine. | ||
|
||
# 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. | ||
# 3. Create wheel and source files. | ||
python3 -m build | ||
|
||
# 6. Upload wheel and source files to the PyPI repository. | ||
twine upload dist/* | ||
# 4. Upload wheel and source files to the PyPI repository. | ||
python3 -m twine upload dist/* | ||
|
||
# 7. (Optional) Upload to Anaconda repository. | ||
# 5. (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. | ||
# 6. 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. | ||
# 7. Check out Zenodo or upload the release on Zenodo. | ||
## To upload the release, download a ZIP file from a particular tag. |
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