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

Add ability to run it in Sublime on vagrant host machine and have virtual envs in vagrant guest #51

Closed
enagorny opened this issue Sep 5, 2013 · 7 comments
Labels

Comments

@enagorny
Copy link

enagorny commented Sep 5, 2013

No description provided.

@DamnWidget
Copy link
Owner

I'm not sure about the relation between the plugin and virtual environments in vagrant/virtualbox.
I mean, if you have SublimeText installed in a vagrant environment, just install the plugin in that Sublime Text.

If what you mean is can use a python installation that resides in a vagrant environment I don't thing it has nothing to do with vagrant but with support the plugin to work with SSH (slowing down the speed of the plugin commands, not of the ST3).

Can you clarify a bit what you mean please?

@enagorny
Copy link
Author

enagorny commented Sep 5, 2013

Sorry for vague question.

I mean second variant. When I have python and all needed packages for work python packages in vagrant(Linux) and running Sublime in OSX. Is it possible to make it work over ssh?

@DamnWidget
Copy link
Owner

Add that support to plugin level can be really painful but there are some tricks that you can use to try to make it work.

Then you can just add the Mac OS X local route to the python virtualenv locally mounted directory and it should work, a bit slow maybe but it should.

@enagorny
Copy link
Author

enagorny commented Sep 5, 2013

It could work. Wouldn't anaconda try to run python interpreter from this shared folder, I am worry because linux python binary can't be run in osx.

@DamnWidget
Copy link
Owner

Oh you are right, there are incompatibility binary platform issues that I didn't thought about.

Maybe this can be approached from another perspective, let me think about it some time.

@DamnWidget
Copy link
Owner

I don't find any possible solution to the binary compatibility problem here, maybe an option should be just replicate the development python environment using virtualenv in the machine were Sublime Text is installed and try to maintain it synchronized with the development vagrant/VirtualBox environment.

Maybe some tool that is capable to run a pip freeze in the target development machine and generate the same environment in the local host is desirable but not sure if it fits the scope of this plugin. I think on it more like a plugin for virtualenvwrapper or something like that.

I'm so sorry for can't be more helpful with that.

@DamnWidget
Copy link
Owner

Look at issue #52

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

No branches or pull requests

2 participants