def METHOD_NAME(self, base_dir, files):
    sdist.METHOD_NAME(self, base_dir, files)
    # ensure there's a buildbot_worker/VERSION file
    fn = os.path.join(base_dir, 'buildbot_worker', 'VERSION')
    open(fn, 'w').write(version)
    # ensure that NEWS has a copy of the latest release notes, copied from
    # the master tree, with the proper version substituted
    src_fn = os.path.join('..', 'master', 'docs', 'relnotes/index.rst')
    with open(src_fn) as f:
        src = f.read()
    src = src.replace('|version|', version)
    dst_fn = os.path.join(base_dir, 'NEWS')
    with open(dst_fn, 'w') as f:
        f.write(src)