-
-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(pypi): publish
git-cliff
on PyPI (#158)
* chore(pypi): First shot at PyPi publishing * docs(pypi): Draft docs for install from PyPI * fix(pypi): fix spellig mistake and add missing dependency * chore(pypi): rc1 for pypi publish workflow * docs(pypi): add example for pip install command Also tweaked verbiage a little * fix(docs): remove extra backtick in command example * fix(pypi): fix MATURIN_REPOSITORY definition * chore(pypi): rc2 for pypi publish fixes mistake in use of endsWith and startsWith expression syntax. Thanks https://rhysd.github.io/actionlint/! * chore(pypi): rc3 for pypi publish workflow Changes: - fixes an error with maturin build - makes sure maturin commands are run in directory containing pyproject.toml - manifest path is now specified in pyproject.toml - sdist is now created as a part of the build command * fix(pypi): specify cwd in action arg * fix(pypi): fix various path issues * chore(docker): ignore pypi directory --------- Co-authored-by: Orhun Parmaksız <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
9fd1be6
commit 2b7a1ef
Showing
5 changed files
with
93 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
/.git/ | ||
/.github/ | ||
/npm/ | ||
/pypi/ | ||
/website/ | ||
|
||
# Files | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[build-system] | ||
requires = ["maturin>=0.14,<0.15"] | ||
build-backend = "maturin" | ||
|
||
[project] | ||
name = "git-cliff" | ||
requires-python = ">=3.7" | ||
classifiers = [ | ||
"Intended Audience :: Developers", | ||
"Topic :: Software Development", | ||
"Programming Language :: Rust", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
] | ||
|
||
[tool.maturin] | ||
bindings = "bin" | ||
manifest-path = "../git-cliff/Cargo.toml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# PyPI | ||
|
||
If you are a Python user, you can install and run **git-cliff** from [PyPI](https://pypi.org/project/git-cliff/) using `pip`: | ||
|
||
```bash | ||
pip install git-cliff | ||
``` |