Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix a ResourceWarning in setuptools_build #3824
Running setup.py using SETUPTOOLS_SHIM logs a ResourceWarning on
Example of warning with Python 3.5 and pip:
Running setup.py using SETUPTOOLS_SHIM logs a ResourceWarning on Python 3 when using python3 -Wd command line option. This change fixes the warning by close the setup.py file before running it.