Skip to content

Commit

Permalink
Merge pull request #15 from TomMonks/dev
Browse files Browse the repository at this point in the history
PYPI: updated setup, __init__, and python-publish
  • Loading branch information
TomMonks authored Nov 23, 2023
2 parents 2336cf3 + 4ed8497 commit 0d86caa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
Expand Down
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import setuptools
from sim_tools import __version__

# patch ed - build error due to imporing numpy into __init__
# from sim_tools import __version__
VERSION = "0.2.1"


# Read in the requirements.txt file
with open("requirements.txt") as f:
Expand All @@ -12,7 +16,7 @@

setuptools.setup(
name="sim-tools",
version=__version__,
version=VERSION,
author="Thomas Monks",
author_email="t.m.w.monks@exeter.ac.uk",
license="The MIT License (MIT)",
Expand Down
2 changes: 1 addition & 1 deletion sim_tools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '0.2.0'
__version__ = '0.2.1'
__author__ = 'Thomas Monks'

from . import distributions, ovs

0 comments on commit 0d86caa

Please sign in to comment.