[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Python install paths

From: Efraim Flashner
Subject: Re: Python install paths
Date: Thu, 21 Jul 2016 14:11:17 +0300
User-agent: Mutt/1.6.1 (2016-04-27)

On Wed, Jul 20, 2016 at 12:27:13PM +0300, Efraim Flashner wrote:
> 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 files. The one in onionshare has some that look
> like this:
> (os.path.join(sys.prefix, 'share/applications'), 
> ['install/onionshare.desktop']),
> 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?

I found this page¹ that, while targeted at python-2, still worked as a
template for creating a patch for to make all the files install
in the correct prefix.


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

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]