##// END OF EJS Templates
Make running PYTHONSTARTUP optional...
Make running PYTHONSTARTUP optional It makes sense either to have PYTHONSTARTUP set up things for all interactive Python sessions, or to bring some convenience features to the default Python shell. We used to ignore it, but IPython 1.x executes the PYTHONSTARTUP file. In conversation with @minrk, we felt there should be a config option not to run it, but running it should remain the default.

File last commit:

r13387:3b4dba0a
r13713:d06c69b9
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'))