share and bin are directories

This commit is contained in:
Sylvain Alborini 2015-02-24 12:52:26 +01:00
parent a2ba422070
commit 5c0938d388

View file

@ -106,8 +106,8 @@ class PythonRecipe(Recipe):
try:
print("Remove files unlikely to be used")
os.chdir(join(self.ctx.dist_dir, "root", "python"))
sh.rm("share")
sh.rm("bin")
sh.rm("-rf", "share")
sh.rm("-rf", "bin")
os.chdir(join(self.ctx.dist_dir, "root", "python", "lib"))
sh.rm("-rf", "pkgconfig")
sh.rm("libpython2.7.a")