Skip to content

Commit 0d86caa

Browse files
authored
Merge pull request #15 from TomMonks/dev
PYPI: updated setup, __init__, and python-publish
2 parents 2336cf3 + 4ed8497 commit 0d86caa

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.github/workflows/python-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v3
1717
- name: Set up Python
18-
uses: actions/setup-python@v2
18+
uses: actions/setup-python@v3
1919
with:
2020
python-version: '3.x'
2121
- name: Install dependencies

setup.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
import setuptools
2-
from sim_tools import __version__
2+
3+
# patch ed - build error due to imporing numpy into __init__
4+
# from sim_tools import __version__
5+
VERSION = "0.2.1"
6+
37

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

1317
setuptools.setup(
1418
name="sim-tools",
15-
version=__version__,
19+
version=VERSION,
1620
author="Thomas Monks",
1721
author_email="t.m.w.monks@exeter.ac.uk",
1822
license="The MIT License (MIT)",

sim_tools/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '0.2.0'
1+
__version__ = '0.2.1'
22
__author__ = 'Thomas Monks'
33

44
from . import distributions, ovs

0 commit comments

Comments
 (0)