"git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "562b8463bcce05a958023cfe9c2e72185cb804d8"
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 #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import sys,os import sys, os, platform
import shutil import shutil
import glob import glob
...@@ -10,10 +10,7 @@ from setuptools import setup ...@@ -10,10 +10,7 @@ from setuptools import setup
class BinaryDistribution(Distribution): class BinaryDistribution(Distribution):
def has_ext_modules(self): def has_ext_modules(self):
return True return platform.system() == 'Darwin'
def is_pure(self):
return False
CURRENT_DIR = os.path.dirname(__file__) 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