Commit f720ce13 authored by Sheng Zha's avatar Sheng Zha Committed by Gan Quan
Browse files

[Build] support universal wheel on linux (#272)

parent ddf96ff9
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys,os
import sys, os, platform
import shutil
import glob
......@@ -10,10 +10,7 @@ from setuptools import setup
class BinaryDistribution(Distribution):
def has_ext_modules(self):
return True
def is_pure(self):
return False
return platform.system() == 'Darwin'
CURRENT_DIR = os.path.dirname(__file__)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment