-
Notifications
You must be signed in to change notification settings - Fork 0
Add GitHub Action to publish to PyPI on version changes #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This workflow: - Triggers on pushes to main - Checks if the version in setup.py has changed - If changed, builds and publishes to PyPI using API token - Creates a GitHub release with the version tag and auto-generated notes Requires PYPI_API_TOKEN secret to be configured in GitHub repository settings. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Publish workflow now uses Python 3.11 - Pull request workflow tests against both Python 3.11 and PyPy 3.11 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Migrated from setup.py to pyproject.toml with uv - Set requires-python to >=3.10 - Updated workflows to use uv for building and publishing - Added flake8 and pytest as dev dependencies - Both workflows test CPython 3.10 and PyPy 3.10 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Switched from hatchling to setuptools as build backend - Properly configured package discovery for gtfs_loader directory - Fixed uv sync and build issues 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Added badges for PyPI, Python version, license, and build status - Expanded documentation with features, installation, and usage examples - Added development setup instructions using uv - Included project structure overview - Added contributing guidelines and maintainer information 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Development commands using uv - Architecture overview of core components - Data flow explanation - Key patterns for entity indexing and cross-references - Itinerary format support documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
README.md
Outdated
| # py-gtfs-loader | ||
|
|
||
| Simple python library to load GTFS folder | ||
| [](https://badge.fury.io/py/py-gtfs-loader) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where this badge come from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an service for open source stuff to have badge on their readme pages, but seems this one is down right now 🙃
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no wonder nothing showed up/worked at that subdomain when i checked it 😂
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Summary
This PR modernizes the project infrastructure and adds automated PyPI publishing:
Package Management & Build System
setup.pyto modernpyproject.tomlwith uv support.python-versionfile (3.10.19) for consistent development environmentsCI/CD & Automation
pyproject.tomlDocumentation
Maintainer Updates