Merge pull request #117 from niavlys/poly-arch

share and bin are directories
This commit is contained in:
Mathieu Virbel 2015-02-24 12:54:01 +01:00
commit af21bf5090

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")