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
565fa252
Commit
565fa252
authored
Jul 08, 2018
by
Michael Davidsaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.1a7
parent
d8a75bf2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
setup.py
setup.py
+1
-1
src/setuptools_dso/dsocmd.py
src/setuptools_dso/dsocmd.py
+7
-4
No files found.
setup.py
View file @
565fa252
...
...
@@ -4,7 +4,7 @@ from setuptools import setup, Extension
setup
(
name
=
'setuptools_dso'
,
version
=
"0.1a
6
"
,
version
=
"0.1a
7
"
,
description
=
"setuptools extension to build non-python shared libraries"
,
long_description
=
"""setuptools extension for building non-python shared libraries
and packaging them for distribution. eg. for use by python extensions.
...
...
src/setuptools_dso/dsocmd.py
View file @
565fa252
...
...
@@ -19,16 +19,19 @@ from distutils import log
Distribution
.
x_dsos
=
None
def
massage_dir_list
(
bdirs
,
dirs
):
def
massage_dir_list
(
bdirs
,
in
dirs
):
"""Process a list of directories for use with -I or -L
For relative paths, also include paths relative to a build directory
"""
dirs
=
dirs
or
[]
indirs
=
indirs
or
[]
dirs
=
indirs
[:]
for
bdir
in
bdirs
:
dirs
.
extend
([
os
.
path
.
join
(
bdir
,
D
)
for
D
in
dirs
if
not
os
.
path
.
isabs
(
D
)])
dirs
.
extend
([
os
.
path
.
join
(
bdir
,
D
)
for
D
in
in
dirs
if
not
os
.
path
.
isabs
(
D
)])
if
os
.
name
==
'nt'
:
bdir
=
os
.
path
.
dirname
(
bdir
)
# strip /Release or /Debug
dirs
.
extend
([
os
.
path
.
join
(
bdir
,
D
)
for
D
in
dirs
if
not
os
.
path
.
isabs
(
D
)])
dirs
.
extend
([
os
.
path
.
join
(
bdir
,
D
)
for
D
in
indirs
if
not
os
.
path
.
isabs
(
D
)])
return
list
(
filter
(
os
.
path
.
isdir
,
dirs
))
def
expand_sources
(
cmd
,
sources
):
...
...
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