From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Python install paths Date: Wed, 20 Jul 2016 12:27:13 +0300 Message-ID: <20160720092713.GA30117@debian-netbook> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="d6Gm4EdcadzBjdND" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPnmm-0000o4-JX for guix-devel@gnu.org; Wed, 20 Jul 2016 05:27:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPnmi-0006Hx-LS for guix-devel@gnu.org; Wed, 20 Jul 2016 05:27:24 -0400 Received: from flashner.co.il ([178.62.234.194]:45402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPnmi-0006GS-DC for guix-devel@gnu.org; Wed, 20 Jul 2016 05:27:20 -0400 Received: from localhost (85.65.166.137.dynamic.barak-online.net [85.65.166.137]) by flashner.co.il (Postfix) with ESMTPSA id A52FC4024E for ; Wed, 20 Jul 2016 09:27:15 +0000 (UTC) Content-Disposition: inline List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --d6Gm4EdcadzBjdND Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I've been working slowly on getting onionshare packaged, and I've run into a problem with the install phase. Normally everything just works, but our --prefix=3D%out doesn't seem to overide the sys.prefix install path in some setup.py files. The one in onionshare has some that look like this: (os.path.join(sys.prefix, 'share/applications'), ['install/onionshare.deskt= op']), https://github.com/micahflee/onionshare/blob/master/setup.py I've tried using substitute to switch 'sys.prefix' to %out, and it installs but the program can't seem to find the files its looking for, notably the locales. Has anyone else run into problems like this and figured something out? --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --d6Gm4EdcadzBjdND Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJXj0PsAAoJEPTB05F+rO6TTxkP/iHNddesPwXpMfd2Db0mqgoE YLGtPBVrr0/s142C5SbQwwP/cKEzCXBrZGfEzBFQbS0TJW+wtT+HYTDYe/LR8KNo xuqpNLZlEZiSfLMKfijuhV4BF5FJX2qfEDezh34MCif23x8rkgehqQDFSwz53Mrk R+1QXyN2n0ILSKuP2dD0qo7IG08oqHMiyuTmSv0NyCeKB8V9V29mfsu6l1JpjIVP 7q0AGZk2MveTa0Q2pRySMX8uxEct9hKdu2BStVqyuSRqqf3JVmJOCNueCU+X88ws 2SZ8kezu49o3rGjuxUXE2tj0MEgKdlD19Ci+a2fF5dxQ6+dlpRXtCCgt2NK8Jggf /oWmz80YzQFp4Ry3TXm9mpR2qrYvazzpKpSAZ7aoZR5YK/giMgdRVOc9U9ZhF0W4 Z+4cn3nYv7hOETUzQtOPFQmHd8l5lhjVrMMjCLAhHaXaJ1nst3+Ki8oa/CyxNniX UzMDc6EiYK425WKt63qcrungobSHVxGVYVg70WOEgr1ymO2Yrl5xFZJSV0XdT43H JAO67nVb4hD/pQ1FnklUWeD1/ZMZQgt5uXUVYQgT3S0nBEZuESXPT+FJ2WH+bfsi L2GSacj1St8uHWRM+K/3tROaP6xfjkMKERpG3MEn1P0zAIB09w84QEUd2/6Z5hLc s2QfP1ESaoU2LLUk89Dh =msu6 -----END PGP SIGNATURE----- --d6Gm4EdcadzBjdND--