def run(self, *args, **kwargs):
install.run(self, *args, **kwargs)
distcfg = os.path.join('girder_worker', 'worker.dist.cfg')
localcfg = os.path.join('girder_worker', 'worker.local.cfg')
if not os.path.isfile(localcfg):
print('Creating worker.local.cfg')
shutil.copyfile(distcfg, localcfg)
评论列表
文章目录