Skip to content

Commit

Permalink
Add github workflow for building and update email
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjoos committed May 22, 2024
1 parent 337413c commit 39fcc25
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 13 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/python-publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# 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.

# GitHub recommends pinning actions to a commit SHA.
# To get a newer version, you will need to update the SHA.
# You can also reference a tag or branch, but the action may change without warning.

name: Upload Python Package

on:
release:
types: [published]

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- 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@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ output/*
data
!goutput/Readme.md
**/__pycache__
.idea
error_log.txt
build/
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[project]
name = "sn-trackeval"
version = "0.2.0"
version = "0.2.1"
authors = [
{name = "Vladimir Somers", email = "[email protected]"},
{name = "Jonathon Luiten", email = "[email protected]"},
{name = "Arne Hoffhues"},
{name = "Arne Hoffhues", email = "[email protected]"},
{name = "Victor Joos", email = "[email protected]"},
]
description = "Code for evaluating object tracking"
Expand Down
10 changes: 0 additions & 10 deletions requirements.txt

This file was deleted.

0 comments on commit 39fcc25

Please sign in to comment.