Skip to content

Commit

Permalink
Merge pull request #3 from gregory-halverson/main
Browse files Browse the repository at this point in the history
initial release
  • Loading branch information
gregory-halverson authored Sep 14, 2024
2 parents 798d3c6 + d2724de commit 1106afc
Show file tree
Hide file tree
Showing 15 changed files with 43 additions and 4 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Upload Python Package

on:
release:
types: [published]

permissions:
contents: read

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
1 change: 0 additions & 1 deletion FLiES/version.txt

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions FLiESANN/version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.1
2 changes: 1 addition & 1 deletion Processing FLiES with a raster.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"from koppengeiger import load_koppen_geiger\n",
"from solar_apparent_time import UTC_to_solar\n",
"import sun_angles\n",
"from FLiES import process_FLiES\n",
"from FLiESANN import process_FLiES\n",
"from matplotlib.colors import LinearSegmentedColormap\n",
"import logging\n",
"logging.disable(logging.CRITICAL)"
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
requires = ["setuptools>=60", "setuptools-scm>=8.0", "wheel"]

[project]
name = "FLiES"
version = "0.1.0"
name = "FLiESANN"
version = "0.1.1"
description = "Forest Light Environmental Simulator Radiative Transfer Model Artificial Neural Network Implementation in Python"
readme = "README.md"
authors = [
Expand Down

0 comments on commit 1106afc

Please sign in to comment.