##// END OF EJS Templates
Adding VI-mode in prompt...
Adding VI-mode in prompt From the code it is apparent that if vi-mode is enabled, it should display in the prompt. However, as the compare done is done against an Enum class, it will always return False. The solution is either to access the Enum's `.value` attribute, or to compare it to the declared Enum value directly. The latter is likely more readable.

File last commit:

r13387:3b4dba0a
r25385:003ab938
Show More
setupegg.py
7 lines | 217 B | text/x-python | PythonLexer
#!/usr/bin/env python
"""Wrapper to run setup.py using setuptools."""
# Import setuptools and call the actual setup
import setuptools
with open('setup.py', 'rb') as f:
exec(compile(f.read(), 'setup.py', 'exec'))