Skip to content

Commit

Permalink
SYS: Version bump 0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
TEParsons committed Jun 12, 2024
1 parent 128bcb3 commit 1222b03
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ jobs:
run: |
python -m build
- name: Attach binaries
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: |
dist/*
- name: Upload to PyPi
if: startsWith(github.ref, 'refs/tags/')
uses: pypa/gh-action-pypi-publish@release/v1
7 changes: 6 additions & 1 deletion psychopy_eyetracker_sr_research/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,9 @@
devices by SR Research (via ioHub).
"""

__version__ = "0.0.2"
import importlib.metadata

try:
__version__ = importlib.metadata.version("psychopy-eyetracker-sr-research")
except importlib.metadata.PackageNotFoundError:
__version__ = "0.dev"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "psychopy-eyetracker-sr-research"
version = "0.0.2"
version = "0.0.3"
description = "Extension package for PsychoPy which adds support for SR Research eyetrackers (via ioHub)."
readme = "README.md"
requires-python = ">= 3.7"
Expand Down

0 comments on commit 1222b03

Please sign in to comment.