From 3e2ff0f30044e978c02c4a1492e7f802510064e9 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Mon, 9 Feb 2015 11:58:14 +0100 Subject: [PATCH] sdl2/sdl2_image: clean --- recipes/sdl2/__init__.py | 3 --- recipes/sdl2_image/__init__.py | 6 ------ 2 files changed, 9 deletions(-) diff --git a/recipes/sdl2/__init__.py b/recipes/sdl2/__init__.py index 491ebdd..955b38f 100644 --- a/recipes/sdl2/__init__.py +++ b/recipes/sdl2/__init__.py @@ -1,8 +1,5 @@ - from toolchain import Recipe, shprint -from os.path import join, exists import sh -import shutil class LibSDL2Recipe(Recipe): diff --git a/recipes/sdl2_image/__init__.py b/recipes/sdl2_image/__init__.py index b1d2531..ab766b8 100644 --- a/recipes/sdl2_image/__init__.py +++ b/recipes/sdl2_image/__init__.py @@ -1,7 +1,6 @@ from toolchain import Recipe, shprint from os.path import join import sh -import shutil class LibSDL2ImageRecipe(Recipe): @@ -22,11 +21,6 @@ class LibSDL2ImageRecipe(Recipe): "-target", "libSDL_image", "-configuration", "Release") - def install(self): - for arch in self.filtered_archs: - shutil.copy( - join(self.get_build_dir(arch.arch), "SDL_image.h"), - join(self.ctx.include_dir, "common", "SDL2")) recipe = LibSDL2ImageRecipe()