def _prepare():
"""Preparing files for package"""
# Here are files I want packaged but also in top-level directory as it is mostly
# unrelated to actual build
# pip will install data_files in an odd location so I copy them in package at
# build time
root_data_files = ['LICENSE', 'README.adoc', 'TODO.adoc']
for f in root_data_files:
_tempfiles.append(shutil.copy(path.join(here, f),
path.join(here, 'malboxes')))
# docs
shutil.copytree(path.join(here, 'docs'), path.join(here, 'malboxes/docs'),
ignore=shutil.ignore_patterns('presentation'))
评论列表
文章目录