Skip to content

Commit

Permalink
Update versioneer to remove distutils dependency (#364)
Browse files Browse the repository at this point in the history
* Update versioneer to remove distutils dependency

* No need to setup Python as it uses the version in the venv

* Add verioneer dependency
  • Loading branch information
JDBetteridge authored Jun 7, 2024
1 parent 5721f80 commit ab2816d
Show file tree
Hide file tree
Showing 5 changed files with 253 additions and 1,907 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
build:
name: "Build Thetis"
name: "Build Thetis"
# The type of runner that the job will run on
runs-on: self-hosted
# The docker container to use.
Expand All @@ -26,10 +26,6 @@ jobs:
run: |
cd ..
rm -rf build
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install Thetis
run: |
. /home/firedrake/firedrake/bin/activate
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ uptide
pytz
traitlets
pylit
versioneer
3 changes: 3 additions & 0 deletions thetis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@

thetis_log_level(DEBUG)
set_thetis_loggers(comm=COMM_WORLD)

from . import _version
__version__ = _version.get_versions()['version']
Loading

0 comments on commit ab2816d

Please sign in to comment.