Skip to content

Commit 99d0887

Browse files
author
Corey White
committed
Prepare for deployment
1 parent 06cae45 commit 99d0887

File tree

3 files changed

+42
-2
lines changed

3 files changed

+42
-2
lines changed

.github/workflows/python-publish.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# This workflow will upload a Python Package using Twine when a release is created
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
3+
4+
# This workflow uses actions that are not certified by GitHub.
5+
# They are provided by a third-party and are governed by
6+
# separate terms of service, privacy policy, and support
7+
# documentation.
8+
9+
name: Upload Python Package
10+
11+
on:
12+
release:
13+
types: [published]
14+
15+
permissions:
16+
contents: read
17+
18+
jobs:
19+
deploy:
20+
21+
runs-on: ubuntu-latest
22+
23+
steps:
24+
- uses: actions/checkout@v4
25+
- name: Set up Python
26+
uses: actions/setup-python@v3
27+
with:
28+
python-version: '3.x'
29+
- name: Install dependencies
30+
run: |
31+
python -m pip install --upgrade pip
32+
pip install build
33+
- name: Build package
34+
run: python -m build
35+
- name: Publish package
36+
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
37+
with:
38+
user: __token__
39+
password: ${{ secrets.PYPI_API_TOKEN }}

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ python:
66
- "3.9"
77
- "3.10"
88
- "3.11"
9+
- "3.12"
910
# uncomment the following if needed
1011
#- "3.11-dev" # 3.11 development branch
1112
#- "nightly" # nightly build

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[tool.poetry]
22
name = "actinia_openapi_python_client"
33
version = "0.0.3"
4-
description = "Actinia"
4+
description = "Actinia OpenAPI Python Client"
55
authors = ["Corey White <[email protected]>"]
66
license = "GPLv3"
77
readme = "README.md"
8-
repository = "https://github.com/tomorrownow/actinia_openapi_python_client"
8+
repository = "https://github.com/openplainsinc/actinia_openapi_python_client"
99
keywords = ["OpenAPI", "OpenAPI-Generator", "Actinia", "GRASS GIS", "GRASS", "GIS", "OpenPlains"]
1010
include = ["actinia_openapi_python_client/py.typed"]
1111

0 commit comments

Comments
 (0)