-
Notifications
You must be signed in to change notification settings - Fork 311
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
Fix the invalid path of python virtualenv when using glob. #303
base: master
Are you sure you want to change the base?
Conversation
For example when you use virtualenvwrapper it'll create virtualenvs in
|
Thanks! I know what's different. I set up virtualenv per app rather than centralize them. That's why it is not work for me. |
Maybe we should add an option of setting specific virtualenv per sublime project? What do you think about that? |
It sounds great to have a project setting. But, I think it is simplify to add a list for virtualenv folders in user setting. Take my directory for example, I usually setup virtualenv directly under an app. The tree of directory would look like the following: Source/App1/ Since glob won't find the hidden folder, I point the path to my apps in this way: I prefer this kind of solution so that you don't need to configurate virtualenv paths for each projects. |
Hey Wojciech! I've been loving SublimeREPL's support for virtual environments when set up with the virtualenv tool, but I've been messing around with python's new native pyvenv command, only to find out that I can't seem to use SublimeREPL with these environments. I'd be happy to contribute code to help with this. Is this something you would like to see as a part of SublimeREPL? |
@Chris-May @lemonlatte I'm trying to merge everything, what should I do with this? |
@JoelSanchez , when do you plan merge changes to Thanks. |
@Kristinita On one hand, I want people to benefit from the new features, on the other hand I don't want them to suffer the consequences of very little testing. |
@JoelSanchez It's been a while since I was in the code base, but I remember opening #459 after realizing that some environments don't use an I also realize that people don't always put their virtualenvs in |
When I create a virtualenv, the
bin
folder is a child folder of a virtualenv.Therefore, with the additional asterisk,
activate_this.py
won't be find by python glob.