From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: Anomalies in Python search-path Date: Mon, 16 Jan 2017 10:23:56 +0100 Message-ID: <587C912C.9090304@crazy-compilers.com> References: <8737gw2fqw.fsf@gmail.com> <6bfab194-5796-733f-75dd-f0214e3410f8@crazy-compilers.com> <87eg04i0uu.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cT3WJ-0000ow-Uc for guix-devel@gnu.org; Mon, 16 Jan 2017 04:24:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cT3WF-0000V2-0S for guix-devel@gnu.org; Mon, 16 Jan 2017 04:24:07 -0500 In-Reply-To: <87eg04i0uu.fsf@gmail.com> 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: Maxim Cournoyer Cc: Guix-devel Am 15.01.2017 um 20:23 schrieb Maxim Cournoyer: > 1. Remove the current "python-2.7-site-prefixes" patch. I'm afraid, we'll still need this patch. Since "native-inputs" will not be available at build time otherwise. But you way give it a try. > 2. Apply a new patch to site.py to add "$HOME/.guix-profile" > as well as "$GUIX_ENVIRONMENT". I already tried this and unfortunately the test-case "test_site" failed: The user-site-packages directory was not in sys.path. I had not time for investigating this. BTW: I'd not use a patch, but simply "substitute" it in a phase. But that's a matter of taste. > 3. Remove the 'native-search-paths' field. I assume we can remove this. But I do not really understand what "native-search-paths" *really* does. Ludo? -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |