Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
VIGNET Pierre
cadbiom
Commits
6328b67e
Commit
6328b67e
authored
Mar 06, 2019
by
VIGNET Pierre
Browse files
[lib] Fix bug in some configs (*conda) where abusive linker flags are accidentally modified
parent
309346b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
library/setup.py
View file @
6328b67e
...
...
@@ -64,7 +64,7 @@ class PyTest(TestCommand):
# through what you have to do to make that happen.
d
=
sysconfig
.
get_config_vars
()
for
k
,
v
in
d
.
items
():
for
unwanted
in
(
' -g '
,
'-O2'
):
for
unwanted
in
(
' -g '
,):
if
str
(
v
).
find
(
unwanted
)
!=
-
1
:
v
=
d
[
k
]
=
str
(
v
).
replace
(
unwanted
,
' '
)
...
...
@@ -113,7 +113,7 @@ setup(
version
=
__PACKAGE_VERSION__
,
author
=
"Pierre Vignet"
,
author_email
=
"pierre.vignet@irisa.fr"
,
url
=
"https://gitlab.inria.fr/pvignet/cadbiom"
,
url
=
"https://gitlab.inria.fr/pvignet/cadbiom"
,
# Search all packages recursively
packages
=
find_packages
(),
...
...
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