Skip to content

Commit

Permalink
chore: bump version to 0.1.0
Browse files Browse the repository at this point in the history
fix: fully modernize build
fix: modernize publication to pypi
  • Loading branch information
tsutterley committed Nov 18, 2024
1 parent 99f1a81 commit b60f633
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 24 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install build setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
python -m build
python -m twine upload dist/*
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ wheels/
pythonenv*/
setup-miniconda-patched-environment.yml
.vscode
_version.py
# OS generated files #
######################
.DS_Store
Expand Down
33 changes: 33 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: IS2view
message: Interactive visualization and data extraction tool for the ICESat-2 ATL14/15 Gridded Land Ice Height Products
type: software
authors:
- given-names: Tyler
family-names: Sutterley
affiliation: University of Washington, Applied Physics Laboratory
- given-names: Ben
family-names: Smith
affiliation: University of Washington, Applied Physics Laboratory
identifiers:
- type: doi
value: 10.5281/zenodo.8015463
description: Zenodo Archive
repository-code: 'https://github.com/tsutterley/IS2view'
url: 'https://is2view.readthedocs.io'
repository: 'https://pypi.org/project/IS2view'
repository-artifact: 'https://anaconda.org/conda-forge/is2view'
doi: "10.5281/zenodo.8015463"
version: "0.1.0"
date-released: "2024-11-18"
keywords:
- ICESat-2
- elevation
- digital elevation models
- ipython
- jupyter
- graphics
license: MIT
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ prune doc*
prune notebooks*
exclude *.cfg
exclude *.yml
include version.txt
11 changes: 11 additions & 0 deletions doc/source/release_notes/release-v0.1.0.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
##################
`Release v0.1.0`__
##################

* ``refactor``: modernize build with ``pyproject.toml`` (`#44 <https://github.com/tsutterley/IS2view/pull/44>`_)
* ``feat``: generalize hash function to use any available algorithm (`#44 <https://github.com/tsutterley/IS2view/pull/44>`_)
* ``chore``: improve optional dependencies in build (`#45 <https://github.com/tsutterley/IS2view/pull/45>`_)
* ``fix``: update CMR search utility to replace deprecated scrolling (`#46 <https://github.com/tsutterley/IS2view/pull/46>`_)
* ``fix``: change default request type to ``application/netcdf`` (`#47 <https://github.com/tsutterley/IS2view/pull/47>`_)

.. __: https://github.com/tsutterley/IS2view/releases/tag/0.1.0
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,7 @@ omit = [
show_missing = true
precision = 2

[tool.setuptools_scm]
local_scheme = "node-and-date"
version_scheme = "python-simplified-semver"
version_file = "IS2view/_version.py"
19 changes: 0 additions & 19 deletions setup.py

This file was deleted.

2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.9
0.1.0

0 comments on commit b60f633

Please sign in to comment.