GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ocfl-py/pypi_upload.md at main · mlibrary/ocfl-py

Expand file tree

/

pypi_upload.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
30 lines (25 loc) · 1.15 KB
/

pypi_upload.md

Copy path

File metadata and controls

30 lines (25 loc) · 1.15 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

======================== Updating ocfl-py on pypi

Notes to remind @zimeon...

* main copy of code is https://github.com/zimeon/ocfl-py
* on PyPi ocfl-py is at <https://pypi.org/project/ocfl-py>
* now just working in `main` branch, noting releases via https://github.com/zimeon/ocfl-py/releases

Putting up a new version

1. Run `extract_codes.py` to update validation status
2. Run `build_demo_docs.sh` to update demo documents
3. Check version number working branch in `ocfl/_version.py`
4. Check all changes described in `CHANGES.md`
5. Check in as necessary and ensure code is up-to-date with `main` branch on github
6. Check all tests good (`py.test`)
7. Upload new version to PyPI:

  ```
  pip install --upgrade build setuptools wheel twine
  python -m build --no-isolation
  ls -lrt dist
  twine upload dist/*2.X.X*
  ```
8. Check on PyPI at <https://pypi.org/project/ocfl-py>
9. Mark github release via https://github.com/zimeon/ocfl-py/releases
10. Start new version number by editing `ocfl/_version.py` and `CHANGES.md`, push to `main`
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.