Re: [Python-Dev] request for comments - standardization of python's purelib and platlib

2009-08-15 Thread Brett Cannon
Please do not cross-post to python-dev. This discussion has been taken to the distutils SIG. On Fri, Aug 14, 2009 at 17:59, David Lyon wrote: > > Hi Tarek, > > What is needed is to remove/refactor the hardcoding of paths that > currently exists within distutils and replace it with the ability to >

Re: [Python-Dev] request for comments - standardization of python's purelib and platlib

2009-08-14 Thread David Lyon
Hi Tarek, What is needed is to remove/refactor the hardcoding of paths that currently exists within distutils and replace it with the ability to override the defaults via configuration files. (distutils.cfg?) If there's one thing that's certain for the future, its that python will go onto more

Re: [Python-Dev] request for comments - standardization of python's purelib and platlib

2009-08-14 Thread Jan Matejek
Dne 13.8.2009 21:22, Brett Cannon napsal(a): > On Thu, Aug 13, 2009 at 11:23, Jan Matejek wrote: >> 1 - the traditional way >> purelib = /usr/lib/pythonX.Y/site-packages >> platlib = /usr/lib(64)/pythonX.Y/site-packages >> > > Why can't pure libraries go into lib64 as well? There is nothing sayin

Re: [Python-Dev] request for comments - standardization of python's purelib and platlib

2009-08-14 Thread Tarek Ziadé
On Thu, Aug 13, 2009 at 9:22 PM, Brett Cannon wrote: > > > On Thu, Aug 13, 2009 at 11:23, Jan Matejek wrote: >> >> Hello, >> >> I'm cross-posting this to distributi...@freedesktop and python-dev, >> because the topic is relevant to both groups and should be solved in >> cooperation. >> >> The issu

Re: [Python-Dev] request for comments - standardization of python's purelib and platlib

2009-08-13 Thread David Lyon
Hi Jan, It's not impossible, but you have some dependencies. If you can patch distutils within Suse, then it mightn't be so difficult. Distutils is not much more than a file copier. Inside distutils, a lot of the paths that you are talking about are hardcoded. > One, python depends on the "lib

Re: [Python-Dev] request for comments - standardization of python's purelib and platlib

2009-08-13 Thread Brett Cannon
On Thu, Aug 13, 2009 at 11:23, Jan Matejek wrote: > Hello, > > I'm cross-posting this to distributi...@freedesktop and python-dev, > because the topic is relevant to both groups and should be solved in > cooperation. > > The issue: > > In Python's default configuration (on linux), both purelib (l

[Python-Dev] request for comments - standardization of python's purelib and platlib

2009-08-13 Thread Jan Matejek
Hello, I'm cross-posting this to distributi...@freedesktop and python-dev, because the topic is relevant to both groups and should be solved in cooperation. The issue: In Python's default configuration (on linux), both purelib (location for pure python modules) and platlib (location for platform