##// END OF EJS Templates
Close handle on new temporary files before returning filename...
Close handle on new temporary files before returning filename On Windows, a file can only have one open writable handle at a time, so we need to close the one created by mkstemp before anything else can use that file. Closes gh-5946

File last commit:

r13387:3b4dba0a
r17337:274794af
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'))