Re: 03/163: build/python: Add a new guix-pythonpath procedure.

2021-03-27 Thread Hartmut Goebel
Am 14.03.21 um 01:58 schrieb Maxim Cournoyer: 6) Please add some more comments to the code explaining the idea. >>> I was under the impression the code was concise enough to forego with >>> verbose explanations; I'd rather keep it this way. >> Please add some comments. I had a hard time unders

Re: 03/163: build/python: Add a new guix-pythonpath procedure.

2021-03-13 Thread Maxim Cournoyer
Hi Harmut! Hartmut Goebel writes: > Hi schrieb Maxim, >> Sorry for the delay. > > No problem, I reward this with another delay ;-) (Just kidding ;-) > > >> Hartmut Goebel writes: >> >>> 2) This does not remove duplicates and does not honor .pth files in >>> the respective directories - which mi

Re: 03/163: build/python: Add a new guix-pythonpath procedure.

2021-03-07 Thread Hartmut Goebel
Hi schrieb Maxim, > Sorry for the delay. No problem, I reward this with another delay ;-) (Just kidding ;-) > Hartmut Goebel writes: > >> 2) This does not remove duplicates and does not honor .pth files in >> the respective directories - which might still be used. Thus >> site.addsitedir() shou

Re: 03/163: build/python: Add a new guix-pythonpath procedure.

2021-02-26 Thread Maxim Cournoyer
Hi Hartmut, Sorry for the delay. Hartmut Goebel writes: > Hi Maxim, > > many thanks for picking up this issue. >> Indeed, I thought about the possibility to filter the GUIX_PYTHONPATH >> entries based on their version at runtime after I wrote my initial >> reply. It makes life easier. I've up

Re: 03/163: build/python: Add a new guix-pythonpath procedure.

2021-02-05 Thread Hartmut Goebel
Hi Maxim, many thanks for picking up this issue. Indeed, I thought about the possibility to filter the GUIX_PYTHONPATH entries based on their version at runtime after I wrote my initial reply. It makes life easier. I've updated the cu/farewell-to-pythonpath branch with this new way of doing th

Re: 03/163: build/python: Add a new guix-pythonpath procedure.

2021-02-01 Thread Ludovic Courtès
Maxim Cournoyer skribis: > Indeed, I thought about the possibility to filter the GUIX_PYTHONPATH > entries based on their version at runtime after I wrote my initial > reply. It makes life easier. I've updated the > cu/farewell-to-pythonpath branch with this new way of doing things. Awesome, t

Re: 03/163: build/python: Add a new guix-pythonpath procedure.

2021-01-29 Thread Maxim Cournoyer
Hi Ludo, Ludovic Courtès writes: > Hi Maxim, > > Maxim Cournoyer skribis: > +(define (guix-pythonpath inputs) + "Derive the GUIX_PYTHONPATH_X_Y string , with the major and minor version +numbers substituted for X and Y, respectively." + (let ((python (assoc-ref input

Re: 03/163: build/python: Add a new guix-pythonpath procedure.

2021-01-28 Thread Ludovic Courtès
Hi Maxim, Maxim Cournoyer skribis: >>> +(define (guix-pythonpath inputs) >>> + "Derive the GUIX_PYTHONPATH_X_Y string , with the major and minor version >>> +numbers substituted for X and Y, respectively." >>> + (let ((python (assoc-ref inputs "python"))) >>> +(string-append "GUIX_PYTHONPA

Re: 03/163: build/python: Add a new guix-pythonpath procedure.

2021-01-25 Thread Maxim Cournoyer
Hi Ludovic! Ludovic Courtès writes: > Hi! > > guix-comm...@gnu.org skribis: > >> apteryx pushed a commit to branch cu/farewell-to-pythonpath >> in repository guix. > > Woow! > >> commit c3c5bdd2b0ea4588ecba424fdbf6df101d967d3d >> Author: Maxim Cournoyer >> AuthorDate: Fri Jan 22 09:34:33 2021 -

Re: 03/163: build/python: Add a new guix-pythonpath procedure.

2021-01-25 Thread Ludovic Courtès
Hi! guix-comm...@gnu.org skribis: > apteryx pushed a commit to branch cu/farewell-to-pythonpath > in repository guix. Woow! > commit c3c5bdd2b0ea4588ecba424fdbf6df101d967d3d > Author: Maxim Cournoyer > AuthorDate: Fri Jan 22 09:34:33 2021 -0500 > > build/python: Add a new guix-pythonpath p