##// END OF EJS Templates
Make timing work with jupyterlite...
Make timing work with jupyterlite JupyterLite has a resource, but not getrusage(). This make the code a little more general.

File last commit:

r13387:3b4dba0a
r26644:de2f96da
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'))