Skip to content

Commit 24a9d94

Browse files
committed
Added action to publish to PyPi, cleaned up project description.
1 parent ff7fb7b commit 24a9d94

File tree

2 files changed

+40
-3
lines changed

2 files changed

+40
-3
lines changed

.github/workflows/publish-pypi.yaml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# This workflow will install Python dependencies, run tests and lint with a single version of Python
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3+
4+
name: Publish to PyPI
5+
6+
on:
7+
push:
8+
tags: "*"
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Set up Python 3.9
18+
uses: actions/setup-python@v2
19+
with:
20+
python-version: 3.9
21+
cache: 'pip'
22+
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
pip install flake8 pytest tox
27+
28+
- name: Build project
29+
run: |
30+
python -m tox -e clean,build
31+
32+
- name: Publish package
33+
uses: pypa/gh-action-pypi-publish@release/v1
34+
with:
35+
user: __token__
36+
password: ${{ secrets.PYPI_PASSWORD }}
37+

setup.cfg

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55

66
[metadata]
77
name = pygobbler
8-
description = Add a short description here!
8+
description = Python client for the Gobbler service
99
author = LTLA
1010
author_email = [email protected]
1111
license = MIT
1212
license_files = LICENSE.txt
1313
long_description = file: README.md
1414
long_description_content_type = text/markdown; charset=UTF-8; variant=GFM
15-
url = https://github.com/pyscaffold/pyscaffold/
15+
url = https://github.com/ArtifactDB/gobbler-py/
1616
# Add here related links, for example:
1717
project_urls =
18-
Documentation = https://pyscaffold.org/
18+
Documentation = https://artifactdb.github.io/gobbler-py
1919
# Source = https://github.com/pyscaffold/pyscaffold/
2020
# Changelog = https://pyscaffold.org/en/latest/changelog.html
2121
# Tracker = https://github.com/pyscaffold/pyscaffold/issues

0 commit comments

Comments
 (0)