Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools_dso
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
setuptools_dso
Commits
931f0c3c
Commit
931f0c3c
authored
May 19, 2020
by
Michael Davidsaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
osx cleanup
parent
6b1b72f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
15 deletions
+1
-15
src/setuptools_dso/dsocmd.py
src/setuptools_dso/dsocmd.py
+1
-15
No files found.
src/setuptools_dso/dsocmd.py
View file @
931f0c3c
...
...
@@ -119,7 +119,6 @@ class dso2libmixin:
except
ImportError
:
pass
found
=
False
for
candidate
in
dsosearch
:
C
=
os
.
path
.
join
(
candidate
,
libname
)
if
not
os
.
path
.
isfile
(
C
):
...
...
@@ -127,21 +126,8 @@ class dso2libmixin:
else
:
log
.
debug
(
" Found %s"
%
C
)
ext
.
library_dirs
.
append
(
candidate
)
if
sys
.
platform
==
'darwin'
:
# now find the full name of the library (including major version)
full
=
glob
.
glob
(
os
.
path
.
join
(
candidate
,
'lib%s.*.dylib'
%
parts
[
-
1
]))
if
len
(
full
)
==
0
:
fullname
=
libname
elif
len
(
full
)
==
1
:
fullname
=
os
.
path
.
basename
(
full
[
0
])
else
:
raise
RuntimeError
(
"Something wierd happened. Please report. %s"
%
full
)
found
=
True
break
if
not
found
:
else
:
raise
RuntimeError
(
"Unable to find DSO %s needed by extension %s"
%
(
dso
,
ext
.
name
))
ext
.
libraries
.
append
(
parts
[
-
1
])
...
...
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