Skip to content

Commit

Permalink
Merge pull request #7 from danforthcenter/bump-python-versions
Browse files Browse the repository at this point in the history
Bump python versions and add automatic versioning
  • Loading branch information
nfahlgren authored Apr 17, 2024
2 parents 2211a07 + a4ffb59 commit 1aa0983
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10']
python-version: ['3.9', '3.10', '3.11']
os: [ubuntu-latest]
env:
OS: ${{ matrix.os }}
Expand Down
24 changes: 0 additions & 24 deletions codecov.yml

This file was deleted.

3 changes: 3 additions & 0 deletions plantcv/geospatial/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from importlib.metadata import version
# Auto versioning
__version__ = version("plantcv-geospatial")
10 changes: 9 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools >= 61.0"]
requires = ["setuptools >= 64.0", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"

[tool.setuptools.packages.find]
Expand All @@ -26,7 +26,15 @@ classifiers = [
"Intended Audience :: Science/Research",
]

[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
]

[project.urls]
Homepage = "https://plantcv.org"
Documentation = "https://plantcv.readthedocs.io"
Repository = "https://github.com/danforthcenter/plantcv-geospatial"

[tool.setuptools_scm]

0 comments on commit 1aa0983

Please sign in to comment.