Re: "Lite" vs. "Full" Python Ports

2009-04-28 Thread Jannis Leidel
I've also looked through older port versions. None of them changes the "python.pkgd" setting. Thus those modules will always get installed into the site-packages directory and will not be imported. So this means the fix is ready for checkin? Is there anything I can do? On 16.04.2009, at 13:

Re: "Lite" vs. "Full" Python Ports

2009-04-19 Thread Arthur Koziel
I've been running the patched python25 port for over a week now and can only confirm what Jannis said. There are no problems. I tested the following ports: • py25-zlib • py25-hashlib • py25-bsddb • py25-sqlite3 • py25-tkinter • py25-bz2 •

Re: "Lite" vs. "Full" Python Ports

2009-04-16 Thread Jannis Leidel
Am 15.04.2009 um 01:34 schrieb Bryan Blackburn: On Tue, Apr 14, 2009 at 10:19:30PM +0200, Jannis Leidel said: Am 14.04.2009 um 22:00 schrieb Bryan Blackburn: [...] As long as the one in lib-dynload is always loaded first, it shouldn't be too big a deal, but someone really should test it...

Re: "Lite" vs. "Full" Python Ports

2009-04-14 Thread Bryan Blackburn
On Tue, Apr 14, 2009 at 10:19:30PM +0200, Jannis Leidel said: > Am 14.04.2009 um 22:00 schrieb Bryan Blackburn: [...] >> >> As long as the one in lib-dynload is always loaded first, it shouldn't >> be >> too big a deal, but someone really should test it... > > At the risk of not knowing how that c

Re: "Lite" vs. "Full" Python Ports

2009-04-14 Thread Jannis Leidel
Am 14.04.2009 um 22:00 schrieb Bryan Blackburn: On Tue, Apr 14, 2009 at 11:10:32AM +0200, Arthur Koziel said: On 13.04.2009, at 23:19, Bryan Blackburn wrote: Right, the way the py25-* version installs it is different than if you install it directly with python25, that's actually part of t

Re: "Lite" vs. "Full" Python Ports

2009-04-14 Thread Bryan Blackburn
On Tue, Apr 14, 2009 at 11:10:32AM +0200, Arthur Koziel said: > > On 13.04.2009, at 23:19, Bryan Blackburn wrote: >> >> Right, the way the py25-* version installs it is different than if you >> install it directly with python25, that's actually part of the problem >> with >> splitting them out, as

Re: "Lite" vs. "Full" Python Ports

2009-04-14 Thread Arthur Koziel
On 13.04.2009, at 23:19, Bryan Blackburn wrote: Right, the way the py25-* version installs it is different than if you install it directly with python25, that's actually part of the problem with splitting them out, as mentioned with the -S stuff on #12369: ${prefix}/lib/python2.5/site-packa

Re: "Lite" vs. "Full" Python Ports

2009-04-13 Thread Bryan Blackburn
On Mon, Apr 13, 2009 at 05:44:33PM +0200, Rainer Müller said: > Arthur Koziel wrote: > > Here's how I thought of it (using hashlib as an example): > > > > Once the python25 port is updated, the hashlib module will be located > > one level > > above the "site-packages" directory. So, all "import

Re: "Lite" vs. "Full" Python Ports

2009-04-13 Thread Rainer Müller
Arthur Koziel wrote: > Here's how I thought of it (using hashlib as an example): > > Once the python25 port is updated, the hashlib module will be located > one level > above the "site-packages" directory. So, all "import hashlib" > statements would > result in importing the hashlib module ins

Re: "Lite" vs. "Full" Python Ports

2009-04-13 Thread Arthur Koziel
On 13.04.2009, at 15:11, Rainer Müller wrote: Bryan Blackburn wrote: It would be nice to move 2.4 and 2.5 (or at least 2.5) to the same model as 2.6+, but that is quite a bit of work; not to update the python25 port but to remove all the dependencies which have built up using those module

Re: "Lite" vs. "Full" Python Ports

2009-04-13 Thread Rainer Müller
Bryan Blackburn wrote: > It would be nice to move 2.4 and 2.5 (or at least 2.5) to the same model as > 2.6+, but that is quite a bit of work; not to update the python25 port but > to remove all the dependencies which have built up using those modules that > would no longer be needed. The dependenc

Re: "Lite" vs. "Full" Python Ports

2009-04-12 Thread Bryan Blackburn
On Sat, Apr 11, 2009 at 07:46:04PM +0200, Arthur Koziel said: > Hello, > > I'm writing this because of ticket #12369 > [http://trac.macports.org/ticket/12369], which is 21 months old and still > hasn't been resolved. The general problem is whether the python25 port > should include core modules

Re: "Lite" vs. "Full" Python Ports

2009-04-12 Thread C. Florian Ebeling
On Sun, Apr 12, 2009 at 2:45 AM, Ryan Schmidt wrote: > > On Apr 11, 2009, at 15:15, Julio Biason wrote: > >> On Sun, Apr 12, 2009 at 6:11 AM, Rainer Müller wrote: As a Python user of MacPorts, I'd prefer that those were variants. sudo port install python26 +ssl +tk +... >>> >>>

Re: "Lite" vs. "Full" Python Ports

2009-04-11 Thread Ryan Schmidt
On Apr 11, 2009, at 15:15, Julio Biason wrote: On Sun, Apr 12, 2009 at 6:11 AM, Rainer Müller wrote: As a Python user of MacPorts, I'd prefer that those were variants. sudo port install python26 +ssl +tk +... Which would mean you would have to rebuild the whole python port unnecessarily jus

Re: "Lite" vs. "Full" Python Ports

2009-04-11 Thread Julio Biason
On Sun, Apr 12, 2009 at 6:11 AM, Rainer Müller wrote: >> As a Python user of MacPorts, I'd prefer that those were variants. >> >> sudo port install python26 +ssl +tk +... > > Which would mean you would have to rebuild the whole python port > unnecessarily just to add another module. I know. It ju

Re: "Lite" vs. "Full" Python Ports

2009-04-11 Thread Rainer Müller
Julio Biason wrote: > On Sun, Apr 12, 2009 at 4:23 AM, Rainer Müller wrote: >> In my opinion, most users won't need tkinter and thus do not need to >> install tk. As you can see from above, this is what pulls the most >> dependencies in. So what about removing only tk from the default python >> bu

Re: "Lite" vs. "Full" Python Ports

2009-04-11 Thread Rainer Müller
Arthur Koziel wrote: > The current python25 port doesn't install the core modules. It expects > the user to install the ones he need. This leads to some confusion, as > new users generally assume that "core modules" like hashlib should > always be available (and a lot python script do rely on

"Lite" vs. "Full" Python Ports

2009-04-11 Thread Arthur Koziel
Hello, I'm writing this because of ticket #12369 [http://trac.macports.org/ticket/12369 ], which is 21 months old and still hasn't been resolved. The general problem is whether the python25 port should include core modules (hashlib, sqlite3, ...) or not. The current python25 port doesn't i