Skip to content

Commit

Permalink
Merge pull request #27 from fusion-energy/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
shimwell authored Sep 8, 2022
2 parents afcc8d4 + 7d65a90 commit c182dd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions brep_part_finder/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
try:
# this works for python 3.7 and lower
from importlib.metadata import version, PackageNotFoundError
except (ModuleNotFoundError, ImportError):
# this works for python 3.8 and higher
from importlib_metadata import version, PackageNotFoundError
try:
__version__ = version("brep_part_finder")
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[build-system]
requires = [
"setuptools >= 45",
"setuptools >= 46.4.0",
"wheel",
"setuptools_scm[toml] >= 6.2",
"setuptools_scm[toml] >= 6.3.1",
]
build-backend = "setuptools.build_meta"

Expand Down

0 comments on commit c182dd2

Please sign in to comment.