Skip to content

Commit

Permalink
Update pyproject.toml and publishing guide
Browse files Browse the repository at this point in the history
  • Loading branch information
jungtaekkim committed Mar 12, 2024
1 parent ec9d5f6 commit c833c80
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
21 changes: 9 additions & 12 deletions publish_new_release.txt
@@ -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.
1 change: 1 addition & 0 deletions pyproject.toml
Expand Up @@ -39,6 +39,7 @@ Issues = "https://github.com/jungtaekkim/bayeso-benchmarks/issues"
dev = [
"pytest",
"wheel",
"build",
"twine",
"scipy",
"matplotlib",
Expand Down

0 comments on commit c833c80

Please sign in to comment.