From 3375a521954b5d8ff9a3bb2c08cedf6fb3d02e47 Mon Sep 17 00:00:00 2001 From: Robert Niederreiter Date: Fri, 14 Oct 2016 10:05:44 +0200 Subject: [PATCH] host_setuptools WIP --- recipes/host_setuptools/__init__.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/recipes/host_setuptools/__init__.py b/recipes/host_setuptools/__init__.py index 56291a2..0f0fe91 100644 --- a/recipes/host_setuptools/__init__.py +++ b/recipes/host_setuptools/__init__.py @@ -9,15 +9,16 @@ import shutil class HostSetuptools(Recipe): depends = ["hostpython"] archs = ["x86_64"] - url = "ez_setup" + url = "" def prebuild_arch(self, arch): hostpython = sh.Command(self.ctx.hostpython) sh.curl("-O", "https://bootstrap.pypa.io/ez_setup.py") - dest_dir = join(self.ctx.dist_dir, "root", "python") - build_env = arch.get_env() - build_env['PYTHONPATH'] = join(dest_dir, 'lib', 'python2.7', 'site-packages') + #dest_dir = join(self.ctx.dist_dir, "root", "python") + #build_env = arch.get_env() + #build_env['PYTHONPATH'] = join(dest_dir, 'lib', 'python2.7', 'site-packages') # shprint(hostpython, "./ez_setup.py", "--to-dir", dest_dir) - shprint(hostpython, "./ez_setup.py", _env=build_env) + #shprint(hostpython, "./ez_setup.py", _env=build_env) + shprint(hostpython, "./ez_setup.py") recipe = HostSetuptools()