Skip to content

Commit eb0d72c

Browse files
authored
Merge pull request #140 from mellon85/murmur3_extra
Murmur as an extra
2 parents bab2b98 + a7cbb0b commit eb0d72c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Tested on Python 3.4, 3.5, 3.6, 3.7, Pypy3
2727

2828
DeepDiff prefers to use Murmur3 for hashing. However you have to manually install Murmur3 by running:
2929

30-
`pip install mmh3`
30+
`pip install 'deepdiff[murmur]'`
3131

3232
Otherwise DeepDiff will be using SHA256 for hashing which is a cryptographic hash and is considerably slower.
3333

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ def get_reqs(filename):
4343
long_description_content_type='text/markdown',
4444
install_requires=reqs,
4545
python_requires='>=3.4',
46+
extras_require={
47+
"murmur": ["mmh3"],
48+
},
4649
classifiers=[
4750
"Intended Audience :: Developers",
4851
"Operating System :: OS Independent",

0 commit comments

Comments
 (0)