Skip to content

Prepare for PyPI publishing as dremio-cli#4

Draft
rahim-bhojani wants to merge 1 commit intomainfrom
chore/pypi-prep
Draft

Prepare for PyPI publishing as dremio-cli#4
rahim-bhojani wants to merge 1 commit intomainfrom
chore/pypi-prep

Conversation

@rahim-bhojani
Copy link
Contributor

Summary

Prepares the package for publishing to PyPI as dremio-cli.

  • Package name: dremio-clipip install dremio-cli
  • Binary: dremio (unchanged)
  • Version: 0.1.0

Changes

  • pyproject.toml: rename to dremio-cli, add authors, classifiers, keywords, project URLs
  • README.md: update install instructions with pip install dremio-cli
  • CHANGELOG.md: initial v0.1.0 entry
  • src/drs/py.typed: marker for typed package consumers
  • .github/workflows/ci.yml: test on Python 3.11/3.12/3.13 on PR and push to main
  • .github/workflows/publish.yml: auto-publish to PyPI on tag push (v*) via trusted publishing

Setup required before first publish

  1. Register dremio-cli on PyPI
  2. Configure trusted publishing on PyPI:
    • Owner: dremio, Repo: cli, Workflow: publish.yml, Environment: pypi
  3. Create a pypi environment in GitHub repo settings
  4. Tag and push: git tag v0.1.0 && git push origin v0.1.0

Test plan

  • 120 unit tests passing
  • uv build produces dremio_cli-0.1.0-py3-none-any.whl
  • After merge: tag v0.1.0, verify workflow publishes to PyPI
  • pip install dremio-cli && dremio --help works

🤖 Generated with Claude Code

- Rename package to dremio-cli with full metadata (authors, classifiers, urls, keywords)
- Add py.typed marker for type-checking consumers
- Add CHANGELOG.md for v0.1.0
- Add GitHub Actions: CI (test on 3.11/3.12/3.13) and publish (on tag via trusted publishing)
- Update README install instructions with pip install dremio-cli

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant