At 07:30 PM 7/28/2009 +0100, Josh Holland wrote:
I am currently having difficulty with a setup.py script. The problem was
originally brought to my attention by someone packaging the project for
Fedora 11, but I can reproduce a similar problem on my Jaunty box.

When "python setup.py build" is run, the following output is produced
(running with -n switch):
running install
running build
running build_py
running build_ext
running build_scripts
changing mode of build/scripts-2.6/suvat
running install_lib
running install_scripts
changing mode of /usr/local/bin/suvat
running install_data
error: can't copy 'd': doesn't exist or not a regular file

This is for me; the Fedora issue is with 's' instead of 'd'. This is
with different versions of setup.py.

This line is wrong:

   data_files = [('/usr/share/man/man1', 'doc/suvat.1.gz')],

See http://www.python.org/doc/2.3.5/dist/setup-script.html#SECTION000350000000000000000 for why/how.

_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to