Skip to content
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

Questions with --system-site-packages #1

Open
opoplawski opened this issue May 6, 2015 · 2 comments
Open

Questions with --system-site-packages #1

opoplawski opened this issue May 6, 2015 · 2 comments

Comments

@opoplawski
Copy link

Some comments/questions (please pardon my nievite)

Old virtualenv made a symbolic link for includes:
lrwxrwxrwx. 1 orion nwra 22 May 6 10:34 venv/include/python2.7 -> /usr/include/python2.7
This one has copies of the files, and a duplicate copy in venv/include/ and venv/local/include/

Old would make symbolic links to system .py files. This one appears to copy in a large number of identical files, e.g.:

Files /scratch/orion/redhat/BUILDROOT/pyenv-ipython-3.1.0-1.fc22.x86_64/opt/pyenv/ipython-3.1.0/lib64/python2.7/zipfile.py and /usr/lib64/python2.7/zipfile.py are identical

@ionelmc
Copy link
Owner

ionelmc commented May 6, 2015

Yes indeed, the rewrite implementation errors on the side of copying too much stuff.

The plan is to add support for symlinks (for directories) and hardlinks (or symlinks where it doesn't break stuff) for files. It's just that the rewrite didn't got much traction so this feature is missing 😞 (you're the very first person to ask for this 😬).

@techtonik
Copy link

Symlinks are evil. Not all filesystem support this (Vagrant shares no Windows). It took me a bit to remove them in Gratipay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants