diff --git a/README.md b/README.md index 5f067318..82496d8f 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Tested on Python 3.4, 3.5, 3.6, 3.7, Pypy3 DeepDiff prefers to use Murmur3 for hashing. However you have to manually install Murmur3 by running: -`pip install mmh3` +`pip install 'deepdiff[murmur]'` Otherwise DeepDiff will be using SHA256 for hashing which is a cryptographic hash and is considerably slower. diff --git a/setup.py b/setup.py index b5f7b570..bc9ef194 100755 --- a/setup.py +++ b/setup.py @@ -43,6 +43,9 @@ def get_reqs(filename): long_description_content_type='text/markdown', install_requires=reqs, python_requires='>=3.4', + extras_require={ + "murmur": ["mmh3"], + }, classifiers=[ "Intended Audience :: Developers", "Operating System :: OS Independent",