We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0672438 commit 70a687fCopy full SHA for 70a687f
virtualenvwrapper/__init__.py
@@ -1,11 +1,6 @@
1
"""virtualenvwrapper module
2
"""
3
4
-if __name__ == '__main__':
5
- import os
6
- import webbrowser
7
- docs_root = os.path.join(os.path.dirname(__file__), 'docs', 'index.html')
8
- webbrowser.open_new('file://' + docs_root)
9
-else:
10
- import warnings
11
- warnings.warn('Use virtualenvwrapper_bashrc to set up your shell environment.')
+import warnings
+docs_root = os.path.join(os.path.dirname(__file__), 'docs', 'index.html')
+warnings.warn('Use virtualenvwrapper_bashrc to set up your shell environment. See %s for details.' % docs_root)
0 commit comments