Skip to content

Commit c636f1a

Browse files
authored
Fix PyPI publish (#443)
* Add kurtosis as metric to evaluate performance of standardization * Update workflow * Set for pre-release * Remove changes from kurtosis * Remove space * Update workflow
1 parent 40bb20e commit c636f1a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/python-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will upload a Python Package using Twine when a release is created
22
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
33

4-
name: pypi
4+
name: Publish to PyPI
55

66
on:
77
release:
@@ -20,19 +20,19 @@ jobs:
2020
runs-on: ubuntu-latest
2121

2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424
- name: Set up Python
2525
uses: actions/setup-python@v4
2626
with:
2727
python-version: '3.x'
2828
- name: Install dependencies
2929
run: |
3030
python -m pip install --upgrade pip
31-
python -m pip install -U setuptools wheel build twine --user
31+
pip install setuptools wheel twine
3232
- name: Build and publish
3333
env:
3434
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
3535
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
3636
run: |
37-
python -m build
37+
python setup.py sdist bdist_wheel
3838
twine upload dist/*

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[metadata]
22
author = The GlacioHack Team
33
name = xdem
4-
version = 0.0.15
4+
version = 0.0.16.pre
55
description = Analysis of digital elevation models (DEMs)
66
keywords = dem, elevation, geoutils, xarray
77
long_description = file: README.md

0 commit comments

Comments
 (0)