Skip to content

Commit

Permalink
Merge pull request #19 from TomMonks/dev
Browse files Browse the repository at this point in the history
PATCH: v0.3.2
  • Loading branch information
TomMonks authored Feb 6, 2024
2 parents c000202 + 3d45984 commit 6f15f67
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

# 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.
# Modified to use setuptools instead of build.

name: Upload Python Package

Expand All @@ -29,12 +26,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
pip install setuptools wheel twine
- name: Build package
run: python -m build
run: python setup.py sdist bdist_wheel
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}

password: ${{ secrets.PYPI_TOKEN }}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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


# Read in the requirements.txt file
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.3.1'
__version__ = '0.3.2'
__author__ = 'Thomas Monks'

from . import datasets, distributions, time_dependent, ovs

0 comments on commit 6f15f67

Please sign in to comment.