On Wed, 13 Apr 2005, Stefan Seefeld wrote:
Coincidentally I have seen the same symptom last night, though the context was different:
The bdist_rpm command calls the 'install' commands (with all its subcommands) to install everything under a predefined root directory. It tells the 'install' command about that root path and the install command modifies all its paths accordingly (search for 'change_root' in distutils/commands/install.py).
However, I made a small error in my 'install_clib' command's 'get_outputs()' method in that it didn't consider the modified paths but the original ones. bdist_rpm then cut off what it thought was the root directory, but due to the error the resulting paths were incorrect (i.e. appeared 'chopped off' as in your case).
You didn't mention any custom commands, and so I'm not sure that's really related to your error. It may give some hints, though, as to where to look further.
No, I haven't used any custom commands. If anyone would like to look at the problem, download
http://download.gna.org/veusz/testing/veusz-pre0.5.tar.gz
unpack, cd to veusz, and run
python setup.py bdist
It then gives an error:
copying windows/consolewindow.py -> build/lib/veusz/windows copying windows/__init__.py -> build/lib/veusz/windows copying windows/mainwindow.py -> build/lib/veusz/windows copying windows/treeeditwindow.py -> build/lib/veusz/windows copying windows/simplewindow.py -> build/lib/veusz/windows copying windows/action.py -> build/lib/veusz/windows copying windows/plotwindow.py -> build/lib/veusz/windows error: can't copy 'ERSION': doesn't exist or not a regular file
where the setup.py file refers to VERSION, not ERSION.
Thanks
Jeremy
-- Jeremy Sanders <[EMAIL PROTECTED]> http://www.jeremysanders.net/ Cambridge, UK Public Key Server PGP Key ID: E1AAE053 _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
