Skip to content

Commit

Permalink
Trying to have a better presence on PyPI. Also adjusted our build suc…
Browse files Browse the repository at this point in the history
…h that the Github release creation happens AFTER successful twine publication.
  • Loading branch information
Dwayne Pryce committed Nov 2, 2020
1 parent dc371e1 commit c80ec2a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,6 @@ jobs:
else
echo "GRASPOLOGIC_PRERELEASE=false" >> $GITHUB_ENV
fi
- name: Create Github Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.GRASPOLOGIC_VERSION }}
release_name: graspologic-native-${{ env.GRASPOLOGIC_VERSION }}
body_path: "checksums.txt"
prerelease: ${{ env.GRASPOLOGIC_PRERELEASE }}
- name: Install dependencies
run: |
python -m pip install -U pip setuptools wheel twine
Expand All @@ -121,3 +112,13 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
twine upload dist/*
- name: Create Github Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.GRASPOLOGIC_VERSION }}
release_name: graspologic-native-${{ env.GRASPOLOGIC_VERSION }}
body_path: "checksums.txt"
prerelease: ${{ env.GRASPOLOGIC_PRERELEASE }}

3 changes: 2 additions & 1 deletion packages/pyo3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ version = "0.1.0"
authors = ["dwpryce@microsoft.com"]
edition = "2018"
license = "MIT"
description = "This module exists to provide a python interface to native code for Windows, MacOS, and Linux from Python 3.6 to 3.9. Currently, it provides a native implementation of the Leiden global partitioning algorithm. It is advised you use the API through graspologic, as pythonic syntactic sugar has been added to make it more ergonomic for use."
description = "Python native companion module to the graspologic library"
readme = "../../README.md"

[package.metadata.maturin]
maintainer = "Dwayne Pryce"
Expand Down

0 comments on commit c80ec2a

Please sign in to comment.