Skip to content

Commit

Permalink
updating documentation and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rinziv committed Jul 4, 2024
1 parent 9c2fffd commit 0a60011
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ package_dir =
# new major versions. This works if the required packages follow Semantic Versioning.
# For more information, check out https://semver.org/.
install_requires =
importlib-metadata; python_version>="3.10"
importlib-metadata; python_version>="3.8"
scikit-image
scikit-learn
matplotlib
Expand Down
7 changes: 1 addition & 6 deletions src/lore_sa/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
import sys

if sys.version_info[:2] >= (3, 8):
# TODO: Import directly (no need for conditional) when `python_requires = >= 3.8`
from importlib.metadata import PackageNotFoundError, version # pragma: no cover
else:
from importlib_metadata import PackageNotFoundError, version # pragma: no cover
from importlib.metadata import PackageNotFoundError, version # pragma: no cover

try:
# Change here if project is renamed and does not equal the package name
Expand Down

0 comments on commit 0a60011

Please sign in to comment.