-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
symlinks not supported by pip / setup.py? #5856
Comments
I don’t think packaging symlinks is a good idea in general, since it is extremely likely to break on Windows. It would also be difficult to support symlinks inside a wheel, since Python’s zipfile module does not support archiving symlinks at the current time. |
See also this very recent comment by @waveform80: #5848 (comment) |
Given that the packaging attempts for asciidoc3 For pip's handling of that sdist there are two routes:
|
Hello. For getting the symlinks into an sdist in the first place I would check the setuptools issue tracker and mailing list, sending a question to the mailing list if there are no results. Given the pip-specific changes to support these use cases are in #5919 I will close this issue and we can track the activity there. Thank you for reporting! |
Hi, I searched and tried for (a lot of) hours to get symlinks in my package asciidoc3 (see alpha here https://pypi.org/project/asciidoc3/ and about 50(!) attempts https://test.pypi.org/project/asciidoc3).
I failed; it's frustrating. 'include_package_data=True' / MANIFEST.in doesn't work: 'data_files contains unexpected objects'. Say, we have
What can I do to "install" the symlink 'images --> ./images' in dir 'other_data' in ~/.local/lib/python3.5/site-packages/myprogram/other_data?
The 'workaround' described here https://stackoverflow.com/questions/20288711/post-install-script-with-python-setuptools
(using 'class my_install(install_data)' and 'cmdclass={'install_data': my_install}' ...) didn't work either. And here another link, which does not help me: #3500
Is there a way to include symlinks?
The text was updated successfully, but these errors were encountered: