-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #96 from WikiWatershed/tt/92/deploy-via-github-act…
…ions
- Loading branch information
Showing
8 changed files
with
112 additions
and
61 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
id-token: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.10" | ||
- name: Install pipenv, build dependencies | ||
run: | | ||
python -m pip install pipenv | ||
pipenv install --dev | ||
- name: Build source package | ||
run: | | ||
pipenv run python -m build --sdist | ||
- name: Build wheels | ||
run: | | ||
pipenv run python -m cibuildwheel --output-dir dist | ||
- name: Publish package | ||
uses: pypa/gh-action-pypi-publish@release/v1 |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
include DESCRIPTION.rst | ||
include *.md | ||
include *.py | ||
include LICENSE | ||
|
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 |
---|---|---|
|
@@ -13,6 +13,7 @@ numba = "==0.55.*" | |
|
||
[dev-packages] | ||
build = "*" | ||
cibuildwheel = "*" | ||
twine = "*" | ||
|
||
[requires] | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -21,9 +21,9 @@ | |
from gwlfe.MultiUse_Fxns.Runoff.WashImperv_inner import cc as wipcc | ||
from gwlfe.MultiUse_Fxns.Runoff.WashPerv_inner import cc as wpcc | ||
|
||
# Get the long description from DESCRIPTION.rst | ||
# Get the long description from README.md | ||
with open(path.join(path.abspath(path.dirname(__file__)), | ||
'DESCRIPTION.rst'), encoding='utf-8') as f: | ||
'README.md'), encoding='utf-8') as f: | ||
long_description = f.read() | ||
|
||
tests_require = [ | ||
|
@@ -36,7 +36,7 @@ | |
version='3.1.0', | ||
description='A Python port of Generalized Watersheds Loading Functions - Enhanced (MapShed)', | ||
long_description=long_description, | ||
long_description_content_type='text/x-rst', | ||
long_description_content_type='text/markdown', | ||
url='https://github.com/WikiWatershed/gwlf-e', | ||
author='Azavea Inc.', | ||
author_email='[email protected]', | ||
|