Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/stable_push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: stable pypi build push

on:
release:
types:
- released


jobs:
build-push-pypi:
runs-on: ubuntu-latest
environment:
name: stable_pypi
url: https://pypi.org/p/guorbit-utils
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v3
- name: Setup python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Build source and wheel
run: |
python -m pip install --upgrade build twine
python -m build
twine check --strict dist/*

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
env:
TWINE_VERBOSE: 1

7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ requires = ["setuptools", "wheel", "setuptools_scm"]
build-backend = "setuptools.build_meta"

[project]
name = "utilities"
version = "0.1.0"
name = "guorbit-utils"
version = "0.2.1"
authors = [{ name = "GU Orbit Software Team", email = "uog.orbit@gmail.com" }]
requires-python = ">=3.10"
description = "A package containing utilities for GU Orbit Software"
Expand All @@ -16,7 +16,7 @@ classifiers = [
"Operating System :: OS Independent",
]
dependencies = [
"numpy >= 1.24.0",
"numpy >= 1.24.3",
"rasterio >= 1.3.6",
"Pillow >= 9.4.0",
"tensorflow >= 2.10",
Expand All @@ -38,6 +38,7 @@ markers = [

[project.optional-dependencies]
dev = [

"pytest >= 7.2.2",
"pytest-cov >= 4.0.0",
"pytest-mock >= 3.10.0",
Expand Down