Skip to content

Commit 22ac8c7

Browse files
committed
install murmur from forked splitio git
1 parent 3a05383 commit 22ac8c7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

setup.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
from os import path
55
from setuptools import setup, find_packages
6+
import subprocess
7+
import sys
68

79
TESTS_REQUIRES = [
810
'flake8',
@@ -29,6 +31,12 @@
2931
'bloom-filter2>=2.0.0'
3032
]
3133

34+
try:
35+
subprocess.check_call([sys.executable, "-m", "pip", "install", 'git+https://github.com/splitio/mmh3cffi.git'])
36+
print(f"Successfully installed mmh3cffi")
37+
except subprocess.CalledProcessError as e:
38+
print(f"Failed to install {mmh3cffi}: {e}")
39+
3240
with open(path.join(path.abspath(path.dirname(__file__)), 'splitio', 'version.py')) as f:
3341
exec(f.read()) # pylint: disable=exec-used
3442

0 commit comments

Comments
 (0)