Close opened file in setup.py
Use setuptools when available