-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
virtualenv_create with options. #1790
Comments
Will want @tdsmith's input on this. |
I think we already add them if they're declared as dependencies. |
Thanks for the comment. Declared dependencies should already be accessible from the virtualenv; that's handled here: https://github.com/Homebrew/brew/blob/master/Library/Homebrew/language/python.rb#L126 If it isn't working, please open a ticket. |
I see. At the moment |
I don't understand what you're suggesting isn't available.
…On Mon, Jan 9, 2017, 08:24 Kyungmin Lee ***@***.***> wrote:
I see. At the moment virtualenv_create only looks at formulae; python
module dependencies are not accessible inside virtualenv. Is it be possible
to make the python module deps available inside virtualenv?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#1790 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAKnQbR6O-KdhXN47zfqtKWpOoUs9FK4ks5rQl8ogaJpZM4LcIcA>
.
|
Even if you have |
Oh, sure. It would be hard to make that work and modules should just be
vendored as resources instead; maybe it should throw a warning.
…On Mon, Jan 9, 2017, 09:02 Kyungmin Lee ***@***.***> wrote:
Even if you have depends_on "numpy" => :python in your formula, numpy is
not accessible in the virtualenv.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#1790 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAKnQZJf9E5JmB_OTy1FH3fiM1sG1-Gtks5rQmgugaJpZM4LcIcA>
.
|
I see. That's what I thought. Thanks! |
@kyungminlee It's worth noted that |
Currently,
virtualenv_create
does not accept any extra options. For packages that depend on python modules inhomebrew/python
, such asnumpy
, etc., passing--system-site-packages
tovirtualenv
should be useful.The text was updated successfully, but these errors were encountered: