##// END OF EJS Templates
Fix virtualenv warning for Cygwin...
Fix virtualenv warning for Cygwin Getting `Attempting to work in a virtualenv...` warnings when running in Cygwin and starting ipython in a virtualenv. (Also, using a virtualenvwrapper, not sure if it makes a difference) Turns out `p_venv` looks like this `\cygdrive\c\users\igonato\envs\myenv` when `sys.executable` is like this `c:\users\igonato\envs\myenv\scripts\python.exe`. This should make the check a bit more robust when running in Cygwin Cheers!

File last commit:

r21337:03608cd1
r23579:920ce1fb
Show More
__main__.py
3 lines | 100 B | text/x-python | PythonLexer
MinRK
add `python -m` entry points for everything
r14009 if __name__ == '__main__':
Min RK
ipython_kernel is now ipykernel
r21337 from ipykernel import kernelapp as app
MinRK
add `python -m` entry points for everything
r14009 app.launch_new_instance()