Commit 6328b67e authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

[lib] Fix bug in some configs (*conda) where abusive linker flags are accidentally modified

parent 309346b5
...@@ -64,7 +64,7 @@ class PyTest(TestCommand): ...@@ -64,7 +64,7 @@ class PyTest(TestCommand):
# through what you have to do to make that happen. # through what you have to do to make that happen.
d = sysconfig.get_config_vars() d = sysconfig.get_config_vars()
for k, v in d.items(): for k, v in d.items():
for unwanted in (' -g ', '-O2'): for unwanted in (' -g ',):
if str(v).find(unwanted) != -1: if str(v).find(unwanted) != -1:
v = d[k] = str(v).replace(unwanted, ' ') v = d[k] = str(v).replace(unwanted, ' ')
...@@ -113,7 +113,7 @@ setup( ...@@ -113,7 +113,7 @@ setup(
version=__PACKAGE_VERSION__, version=__PACKAGE_VERSION__,
author="Pierre Vignet", author="Pierre Vignet",
author_email="pierre.vignet@irisa.fr", author_email="pierre.vignet@irisa.fr",
url = "https://gitlab.inria.fr/pvignet/cadbiom", url="https://gitlab.inria.fr/pvignet/cadbiom",
# Search all packages recursively # Search all packages recursively
packages=find_packages(), packages=find_packages(),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment