You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Originally reported by: sorin (Bitbucket: sorin, GitHub: sorin)
It seems that even current versions of setuptools to fail ugly when os.link cannot be performed, and this seems to be something more and more common, especially due to the virtualisation.
Hard links are not supported in many network mounts and virtual environments. In my case I am using Parallels to share my home directory which also contains the python modules which I am developing, allowing me to run the same code on OS X, Ubuntu and Windows.
It seems that doing python setup.py sdist fails with the (in)famous error:
hard linking README.txt -> foo-0.1
error: Operation not permitted
I just got bit by this using setuptools-24.2.1. I was trying to use docker to produce gevent manylinux wheels in a more automated fashion using a mount point from the host machine (OS X).
Originally reported by: sorin (Bitbucket: sorin, GitHub: sorin)
It seems that even current versions of setuptools to fail ugly when os.link cannot be performed, and this seems to be something more and more common, especially due to the virtualisation.
Hard links are not supported in many network mounts and virtual environments. In my case I am using Parallels to share my home directory which also contains the python modules which I am developing, allowing me to run the same code on OS X, Ubuntu and Windows.
It seems that doing
python setup.py sdist
fails with the (in)famous error:Based on the thread from http://www.itsprite.com/pythonpython-setup-py-sdist-error-operation-not-permitted/ I tried to add
del os.link
to my setup.py and it started to work.While this workaround seems ugly, it seems that's the only one that covers all failure cases.
Problem reproduces with both 5.5.x and 20.x versions of setuptools.
The text was updated successfully, but these errors were encountered: