python-setuptools: fix path creation in setup scripts
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Mon, 28 Nov 2016 14:48:54 +0000 (16:48 +0200)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Mon, 28 Nov 2016 14:49:23 +0000 (16:49 +0200)
commitdf840c1e9f4c8f5f681c61d23fadd24b33b5d21f
tree4c39eb9c243ed9fcf4332333be1708dcc3556deb
parent13a03cf79808440e305abf5bfe04959dceb8e08f
python-setuptools: fix path creation in setup scripts

This was fixed a few versions back.
But then python-setuptools changed.

The problem is that python scripts installed via setuptools
& pip would have `#!/build_dir_path/staging_dir/target-x86_64_musl-1.1.15/host/bin/python`
as the path in the script, rather than the path on the target (`/usr/bin/python`).

This fixes that.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lang/python-setuptools/patches/0002-fix-pyvenv-environment-get.patch