Re: [XML-SIG] small installation problem

Harri, This is (in part) a distutils issue. The distutils package should always create this directory if it doesn't exist. Raw Python installations should not create it, since adding it to the search path would slow down the module search. Greg, I don't know if you're reading the XML-SIG list, so I'm adding the distutils list to the list of recipients. Harri Pasanen writes:
-Fred -- Fred L. Drake, Jr. <fdrake at acm.org> Corporation for National Research Initiatives

On 23 February 2000, Fred L. Drake, Jr. said:
This is (in part) a distutils issue. The distutils package should always create this directory if it doesn't exist.
Fred is correct -- Distutils should create any directories it needs to install files. (In fact, it creates any directories it needs to do anything.) In fact, I've just tested this: both my current development version (on Linux) and the 0.1.3 release (Solaris 2.6) work peachy keen. If I remove or rename my site-packages directory, Distutils recreates it *as long as I have permission to write in $prefix/lib/python1.5*. Harri Pasanen writes:
Since I can't reproduce the bug, I'm going to need more information. Could you supply an exact transcript of the session where Distutils failed to create the site-packages directory? (I'm guessing there's a traceback that will reveal useful information.) Also, what version of Distutils did you use? Greg -- Greg Ward - Linux bigot gward@python.net http://starship.python.net/~gward/ Whatever became of eternal truth?

On 23 February 2000, Fred L. Drake, Jr. said:
This is (in part) a distutils issue. The distutils package should always create this directory if it doesn't exist.
Fred is correct -- Distutils should create any directories it needs to install files. (In fact, it creates any directories it needs to do anything.) In fact, I've just tested this: both my current development version (on Linux) and the 0.1.3 release (Solaris 2.6) work peachy keen. If I remove or rename my site-packages directory, Distutils recreates it *as long as I have permission to write in $prefix/lib/python1.5*. Harri Pasanen writes:
Since I can't reproduce the bug, I'm going to need more information. Could you supply an exact transcript of the session where Distutils failed to create the site-packages directory? (I'm guessing there's a traceback that will reveal useful information.) Also, what version of Distutils did you use? Greg -- Greg Ward - Linux bigot gward@python.net http://starship.python.net/~gward/ Whatever became of eternal truth?
participants (2)
-
Fred L. Drake, Jr.
-
Greg Ward