##// END OF EJS Templates
handle multiple decorators in oinspect...
handle multiple decorators in oinspect We only check for `__wrapped__` once, which won't correctly find a function wrapped in two or more decorators. This is theoretically vulnerable to fake objects always returning a `__wrapped__` attribute with a `__wrapped__` attribute.

File last commit:

r13387:3b4dba0a
r21505:f4ed417c
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'))