Skip to content

document that --extra-search-dirs doesn't work #413

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

Closed
qwcode opened this issue Mar 27, 2013 · 5 comments
Closed

document that --extra-search-dirs doesn't work #413

qwcode opened this issue Mar 27, 2013 · 5 comments
Milestone

Comments

@qwcode
Copy link

qwcode commented Mar 27, 2013

document that --extra-search-dirs doesn't work (#327)

@pnasrat
Copy link

pnasrat commented Mar 31, 2013

If it doesn't work should we not just remove it or fix it?

@pfmoore
Copy link
Member

pfmoore commented Mar 31, 2013

I'd certainly like to see documentation of precisely what doesn't work. I'm not completely convinced that there is a problem (or at least that there is a problem in a supported configuration) and some instructions on how to reproduce the issue would be helpful.

From what I understand of the problem, it's actually an issue around ez_setup, and not directly with any virtualenv code. Because of that, I'd be happy with clearly documenting when things go wrong, and clarifying that it's outside of the control of virtualenv.

But I believe that (for instance) using --extra-search-dirs simply to relocate the contents of virtualenv_support to another place works fine (although it's not clear whether this is a "supported" configuration given that messing with virtualenv_support is technically not supported...)

@qwcode
Copy link
Author

qwcode commented Mar 31, 2013

well, fixing something takes time. : (
once we clear out our use of the bootstraps, fixing it, will be much easier I think.

--extra-search-dirs simply to relocate the contents of virtualenv_support to another place works fine

you can point to a different directory, but you can't actually install a different version of distribute or setuptools. that's the stated purpose of the option. try it. if you can get it to work, I'd like to see it. : )

note that the virtualenv code will log something like "Using existing... ", and appears to be using the alternate version, but then the bootstrap goes and installs the hard coded version.

@qwcode
Copy link
Author

qwcode commented Mar 31, 2013

@pfmoore
if you can confirm what I'm saying, I'll happily update the docs for now, to explain the limitation.
"clarifying that it's outside of the control of virtualenv" is not the angle I would take. it's in our power to make this work, but we haven't done it.

@qwcode
Copy link
Author

qwcode commented Apr 6, 2013

I pushed a commit that adds a note about this not working currently
d67fa83

I also updated the description for #327 w/o more details on how it's broken.

@qwcode qwcode closed this as completed Apr 6, 2013
@pypa pypa locked and limited conversation to collaborators Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants