diff --git a/tools/pip/setup.py b/tools/pip/setup.py index 80624c9b46ae..ab99c249e09d 100644 --- a/tools/pip/setup.py +++ b/tools/pip/setup.py @@ -26,8 +26,13 @@ from setuptools import setup, find_packages if platform.system() == 'Linux': - sys.argv.append('--universal') + sys.argv.append('--python-tag') + sys.argv.append('py3') sys.argv.append('--plat-name=manylinux2014_x86_64') +elif platform.system() == 'Darwin': + sys.argv.append('--python-tag') + sys.argv.append('py3') + sys.argv.append('--plat-name=macosx_10_13_x86_64') # We can not import `mxnet.info.py` in setup.py directly since mxnet/__init__.py # Will be invoked which introduces dependences