Skip to content
Snippets Groups Projects
Unverified Commit 31b19f1a authored by iFA's avatar iFA Committed by GitHub
Browse files

Update setup.py

parent 65ce14e6
No related branches found
No related tags found
No related merge requests found
import platform
import platform, sys
from setuptools import setup
from setuptools import find_packages
from setuptools import Extension
......@@ -17,6 +17,8 @@ extra_compile_args = [
if platform.system() == 'Darwin':
extra_compile_args += ['-mmacosx-version-min=10.7', '-stdlib=libc++']
if sys.version_info < (3 , 0):
raise Exception("pyRocksDB require Python 3.x")
setup(
name="python-rocksdb",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment