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
5c42c1ba
Commit
5c42c1ba
authored
Sep 25, 2019
by
Michael Davidsaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
handle DSOs in root (not in a package)
parent
3550848e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/setuptools_dso/dsocmd.py
src/setuptools_dso/dsocmd.py
+2
-2
No files found.
src/setuptools_dso/dsocmd.py
View file @
5c42c1ba
...
...
@@ -69,7 +69,7 @@ class DSO(_Extension):
class
dso2libmixin
:
def
dso2lib_pre
(
self
,
ext
):
mypath
=
os
.
path
.
join
(
*
ext
.
name
.
split
(
'.'
)[:
-
1
])
mypath
=
os
.
path
.
join
(
'.'
,
*
ext
.
name
.
split
(
'.'
)[:
-
1
])
soargs
=
set
()
self
.
_osx_changes
=
[]
...
...
@@ -78,7 +78,7 @@ class dso2libmixin:
log
.
debug
(
"Will link against DSO %s"
%
dso
)
parts
=
dso
.
split
(
'.'
)
dsopath
=
os
.
path
.
join
(
*
parts
[:
-
1
])
dsopath
=
os
.
path
.
join
(
'.'
,
*
parts
[:
-
1
])
if
sys
.
platform
==
"win32"
:
libname
=
parts
[
-
1
]
+
'.dll'
elif
sys
.
platform
==
'darwin'
:
...
...
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