-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I have a problem with using distutils on a filesystem residing on AFS. AFS does not allow hard-linking across directory boundaries. So the copy method from file_util.py using hard links files fails, e.g.:
# ./setup.py sdist running sdist reading manifest file 'MANIFEST' making hard links in foo-1.0... hard linking MANIFEST.in -> foo-1.0 error: Invalid cross-device link
The system I run is linux, thus it tries to hard link, I did not dig too deep into file_util.py but I figured out that it is the link mode which has to be set to None to make it working on AFS so that it copies files.
I made a rather non elegant change to the code, which I attached. I am sure that you can come up with a better solution. I do, unfortunately not have the time, to fix it elsewhere.
Just wanted to let you know.
- -- PGP-Key: http://fubphpc.tu-graz.ac.at/%7Eflash/pubkey.gpg