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:
I installed PyXML-0.5.3 on Solaris 2.7 following the README instructions.
python setup.py install
failed at first, because of missing /usr/local/lib/python1.5/site-packages/ directory. That directory does not appear the be created when Python 1.5.2 is installed from the tar-ball.
After manually creating the directory, the install went through without complaints.
-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:
python setup.py install
failed at first, because of missing /usr/local/lib/python1.5/site-packages/ directory. That directory does not appear the be created when Python 1.5.2 is installed from the tar-ball.
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
participants (2)
-
Fred L. Drake, Jr.
-
Greg Ward