askrobots / dbbasic-content
Public
WordPress-style content management with block-based pages, stored as JSON files on disk instead of MySQL.
PYPI_RELEASE.md · 2.0 KB · 92 lines
PyPI Release Instructions
Package is ready for PyPI!
What's built:
- ✅ Source distribution:
dist/dbbasic_content-0.1.0.tar.gz(22KB) - ✅ Wheel package:
dist/dbbasic_content-0.1.0-py3-none-any.whl(15KB) - ✅ Twine validation: PASSED
- ✅ Package metadata: Complete
- ✅ All tests: 63 passing
To publish to PyPI:
# Upload to PyPI (requires PyPI account and API token)
twine upload dist/*
# Or upload to Test PyPI first (recommended for first release)
twine upload --repository testpypi dist/*
PyPI Account Setup
If you haven't already:
- Create PyPI account: https://pypi.org/account/register/
- Create API token: https://pypi.org/manage/account/token/
- Configure token:
# Create/edit ~/.pypirc
[pypi]
username = __token__
password = pypi-AgEIc... (your token)
Test PyPI (Optional - test first)
# Upload to Test PyPI
twine upload --repository testpypi dist/*
# Install from Test PyPI to verify
pip install --index-url https://test.pypi.org/simple/ dbbasic-content
Production PyPI Release
# Upload to production PyPI
twine upload dist/*
# Users can now install with:
pip install dbbasic-content
After Publishing
- Create GitHub release: https://github.com/askrobots/dbbasic-content/releases/new
- Tag:
v0.1.0 - Title:
dbbasic-content v0.1.0 - Copy CHANGELOG.md content
- Announce:
- Update related projects (dbbasic-tsv, dbbasic-passwd)
- Post on relevant forums/communities
- Update quellhorst.com with link
Package Info
- Name:
dbbasic-content - Version:
0.1.0 - PyPI URL (after upload): https://pypi.org/project/dbbasic-content/
- Python versions: 3.8, 3.9, 3.10, 3.11
Installation commands (after publishing)
# Basic installation
pip install dbbasic-content
# With WordPress import support
pip install dbbasic-content[wordpress]
# Development installation
pip install dbbasic-content[dev]
Ready to upload! 🚀
Just run: twine upload dist/*