Skip to content

Commit

Permalink
Publish to PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
j178 committed Nov 18, 2024
1 parent 04cb26c commit 58c23ea
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 4 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,23 @@ curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/pre-commit-rs/rele
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/pre-commit-rs/releases/download/v0.0.2/pre-commit-rs-installer.ps1 | iex"
```

### PyPI

pre-commit-rs is published as Python binary wheel to PyPI under the name `pre-commit-rusty`,
you can install it using `pip`, `uv` (recommended), or `pipx`:

```console
pip install pre-commit-rusty

# or

uv tool install pre-commit-rusty

# or

pipx install pre-commit-rusty
```

### Homebrew

```console
Expand Down
17 changes: 13 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
[project]
name = "pre-commit-rs"
name = "pre-commit-rusty"
version = "0.0.2"
description = "pre-commit reimplemented in Rust"
authors = [{ name = "j178", email = "[email protected]" }]
requires-python = ">=3.8"
keywords = [ "pre-commit", "git", "hooks" ]
readme = "README.md"
license = { file = "LICENSE" }
classfiers = [
"Development Status :: 2 - Pre-Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Programming Language :: Rust",
"Topic :: Software Development :: Quality Assurance"
]

[project.urls]
Repository = "https://github.com/j178/pre-commit-rs"
Expand All @@ -25,9 +37,6 @@ changelog_ignore_labels = ["internal", "ci", "testing"]
changelog_sections.breaking = "Breaking changes"
changelog_sections.enhancement = "Enhancements"
changelog_sections.compatibility = "Enhancements"
changelog_sections.error_messages = "Enhancements"
changelog_sections.cli = "Enhancements"
changelog_sections.configuration = "Configuration"
changelog_sections.performance = "Performance"
changelog_sections.bug = "Bug fixes"
changelog_sections.documentation = "Documentation"
Expand Down

0 comments on commit 58c23ea

Please sign in to comment.