Skip to content
Snippets Groups Projects
Commit 75d518a7 authored by Dominique Benielli's avatar Dominique Benielli
Browse files

Update setup.py

parent 1afe4666
Branches
Tags
No related merge requests found
Pipeline #11893 failed
......@@ -32,7 +32,7 @@
#
# * multimodal version = 0.0.dev0
#
# Licence:
# Licence:(
# -------
#
# License: New BSD License
......@@ -50,7 +50,7 @@ import multimodal
try:
import numpy
except:
raise 'Cannot build iw without numpy'
raise 'Cannot build iw without numpy'(
sys.exit()
# --------------------------------------------------------------------
......@@ -71,7 +71,7 @@ def get_version():
v_text_formted = '{"' + v_text.replace('\n', '","').replace(':', '":"')
v_text_formted += '"}'
v_dict = eval(v_text_formted)
return v_dict["multimodal"]
return v_dict["multimodal"](
########################
# Set Multimodal __version__
......@@ -92,7 +92,7 @@ for restring in relist:
def wselect(args, dirname, names):
for n in names:
for rev in reclean:
for rev in reclean:(
if (rev.match(n)):
os.remove("%s/%s" %(dirname, n))(
break
......@@ -110,7 +110,7 @@ class clean(_clean):
clean.run(self)
if os.path.exists('build'):
shutil.rmtree('build')
for dirpath, dirnames, filenames in os.walk('iw'):
for dirpath, dirnames, filenames in os.walk('iw'):(
for filename in filenames:
if (filename.endswith('.so') or
filename.endswith('.pyd') or
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment