[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changing python-wrapper to handle lib/ etc.
From: |
Ludovic Courtès |
Subject: |
Changing python-wrapper to handle lib/ etc. |
Date: |
Thu, 30 Oct 2014 14:12:58 +0100 |
User-agent: |
Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux) |
Andreas Enge <address@hidden> skribis:
> On Tue, Oct 28, 2014 at 10:34:48AM +0100, Ludovic Courtès wrote:
>> Ah right. And what if you again remove Python from ‘inputs’, and add
>> #:python ,python
>> to the arguments?
>> That means it will use the actual Python 3.x package, not the wrapper,
>> so everything will be visible. The downside is that there will be no
>> ‘python’ command, only ‘python3’.
>>
>> Perhaps the right fix will be to change ‘python-wrapper’ to symlink the
>> ‘lib’ sub-directory of ‘python’.
>
> As already stated, I think we should add python as a propagated input to
> python-wrapper. The symlinks are just needed between the differently named
> python and python3.
>
> Should we give this a try?
I think our messages crossed each other; I wrote:
The other option would have been to add ‘python’ to ‘propagated-inputs’,
which would also have taken care of sub-directories other than lib/.
As a side-effect, it would also pull in the ‘python3’, ‘pydoc3’,
etc. commands, but I think it cannot hurt.
So yes, I think we should try this.
What about making this change in a branch, letting Hydra build it, and
then merge it if nothing broke?
We’ll also need the patch from
<http://lists.gnu.org/archive/html/guix-devel/2014-10/msg00364.html> in
this branch.
Do you want to take care of it? :-)
TIA,
Ludo’.
- [PATCH 1/2] gnu: Add numpy, Federico Beffa, 2014/10/26
- Re: [PATCH 1/2] gnu: Add numpy, Andreas Enge, 2014/10/29
- Re: [PATCH 1/2] gnu: Add numpy, Federico Beffa, 2014/10/31
- Re: [PATCH 1/2] gnu: Add numpy, Andreas Enge, 2014/10/31
- Re: [PATCH 1/2] gnu: Add numpy, Federico Beffa, 2014/10/31