'Write the PKG-INFO file into the release tree.'

def write_pkg_info(self, base_dir):

    pkg_info = open(os.path.join(base_dir, 'PKG-INFO'), 'w')
    try:
        self.write_pkg_file(pkg_info)
    finally:
        pkg_info.close()
