share and bin are directories
This commit is contained in:
parent
a2ba422070
commit
5c0938d388
1 changed files with 2 additions and 2 deletions
|
@ -106,8 +106,8 @@ class PythonRecipe(Recipe):
|
||||||
try:
|
try:
|
||||||
print("Remove files unlikely to be used")
|
print("Remove files unlikely to be used")
|
||||||
os.chdir(join(self.ctx.dist_dir, "root", "python"))
|
os.chdir(join(self.ctx.dist_dir, "root", "python"))
|
||||||
sh.rm("share")
|
sh.rm("-rf", "share")
|
||||||
sh.rm("bin")
|
sh.rm("-rf", "bin")
|
||||||
os.chdir(join(self.ctx.dist_dir, "root", "python", "lib"))
|
os.chdir(join(self.ctx.dist_dir, "root", "python", "lib"))
|
||||||
sh.rm("-rf", "pkgconfig")
|
sh.rm("-rf", "pkgconfig")
|
||||||
sh.rm("libpython2.7.a")
|
sh.rm("libpython2.7.a")
|
||||||
|
|
Loading…
Reference in a new issue