Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove implicit dependency on setuptools #663

Merged
merged 2 commits into from
Apr 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions clkhash/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import pkg_resources
from importlib import metadata

from . import bloomfilter, field_formats, key_derivation, schema, randomnames, describe
from .schema import Schema

try:
__version__ = pkg_resources.get_distribution('clkhash').version
except pkg_resources.DistributionNotFound:
__version__ = metadata.version('clkhash')
except metadata.PackageNotFoundError:
__version__ = "development"

__author__ = "Data61"
2 changes: 1 addition & 1 deletion docs/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Make sure you have all the required modules before running the tests
installation)::


$ pip install -r requirements.txt
$ poetry install


Now run the unit tests and print out code coverage with `py.test`::
Expand Down