Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
f720ce13
"git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "562b8463bcce05a958023cfe9c2e72185cb804d8"
Commit
f720ce13
authored
Dec 06, 2018
by
Sheng Zha
Committed by
Gan Quan
Dec 06, 2018
Browse files
[Build] support universal wheel on linux (#272)
parent
ddf96ff9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
python/setup.py
python/setup.py
+2
-5
No files found.
python/setup.py
View file @
f720ce13
#!/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__
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment