diff --git a/lib/smd/Install.py b/lib/smd/Install.py index 18986b4477..337f993be5 100644 --- a/lib/smd/Install.py +++ b/lib/smd/Install.py @@ -103,6 +103,7 @@ if buildflag: subprocess.check_output(cmd,stderr=subprocess.STDOUT,shell=True) edir = glob.glob("%s/eigen-eigen-*" % homepath) os.rename(edir[0],"%s/%s" % (homepath,homedir)) + os.remove(tarball) # create link in lib/smd to Eigen src dir diff --git a/lib/voronoi/Install.py b/lib/voronoi/Install.py index 9d6c58d273..17bba5e8eb 100644 --- a/lib/voronoi/Install.py +++ b/lib/voronoi/Install.py @@ -99,6 +99,7 @@ if grabflag: subprocess.check_output(cmd,stderr=subprocess.STDOUT,shell=True) cmd = 'cd "%s"; tar -xzvf %s.tar.gz' % (homepath,version) subprocess.check_output(cmd,stderr=subprocess.STDOUT,shell=True) + os.remove("%s/%s.tar.gz" % (homepath,version)) if os.path.basename(homedir) != version: if os.path.exists(homedir): cmd = 'rm -rf "%s"' % homedir