def run(self):
    folders = ['examples', 'packages', 'test', 'node_modules']
    folders = [f for f in folders if os.path.exists(pjoin(here, f))]
    tempdir = tempfile.mkdtemp()
    for folder in folders:
        shutil.move(pjoin(here, folder), tempdir)
    value = egg_info.run(self)
    for folder in folders:
        shutil.move(pjoin(tempdir, folder), here)
    shutil.rmtree(tempdir)
    return value
def run(self):
    folders = ['examples', 'packages', 'test', 'node_modules']
    folders = [f for f in folders if os.path.exists(pjoin(here, f))]
    tempdir = tempfile.mkdtemp()
    for folder in folders:
        shutil.move(pjoin(here, folder), tempdir)
    value = egg_info.run(self)
    for folder in folders:
        shutil.move(pjoin(tempdir, folder), here)
    shutil.rmtree(tempdir)
    return value