##// END OF EJS Templates
Backport PR #10150: Always run the OS X loop even if no windows....
Backport PR #10150: Always run the OS X loop even if no windows. Otherwise this can trigger infinite Python-Icon-In-Dock bouncing. See 10137. I will guess that this is because application on OS X may not have windows and still need to process events. It may be that an alternative is to run the loop only once the first time, but I'm unsure. ---- Ping minrk : I have no clue what I am doing.

File last commit:

r13387:3b4dba0a
r23169:83d725b1
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'))