unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: guix-devel@gnu.org
Subject: Python install paths
Date: Wed, 20 Jul 2016 12:27:13 +0300	[thread overview]
Message-ID: <20160720092713.GA30117@debian-netbook> (raw)

[-- Attachment #1: Type: text/plain, Size: 894 bytes --]

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=%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.desktop']),
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?


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

             reply	other threads:[~2016-07-20  9:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-20  9:27 Efraim Flashner [this message]
2016-07-21 11:11 ` Python install paths Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160720092713.GA30117@debian-netbook \
    --to=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).