From b0873dd559148dd18570383b007088c788b0a80c Mon Sep 17 00:00:00 2001 From: tangwei Date: Tue, 12 May 2020 15:36:19 +0800 Subject: [PATCH] add mpi cluster --- setup.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index 80e39b55..3dd1a1e9 100644 --- a/setup.py +++ b/setup.py @@ -39,10 +39,14 @@ def build(dirname): packages = find_packages(dirname, include=('fleetrec.*')) package_dir = {'': dirname} package_data = {} - need_copy = ['data/*.txt', 'data/*/*.txt', '*.yaml', 'tree/*.npy','tree/*.txt'] + + models_copy = ['data/*.txt', 'data/*/*.txt', '*.yaml', '*.sh', 'tree/*.npy', 'tree/*.txt'] + engine_copy = ['*/*.sh'] for package in packages: if package.startswith("fleetrec.models."): - package_data[package] = need_copy + package_data[package] = models_copy + if package.startswith("fleetrec.core.engine"): + package_data[package] = engine_copy setup( name=about["__title__"], @@ -67,10 +71,10 @@ shutil.rmtree(dirname) print(''' \033[32m - _ _ _ _ _ _ _ _ _ - / \ / \ / \ / \ / \ / \ / \ / \ / \ + _ _ _ _ _ _ _ _ _ + / \ / \ / \ / \ / \ / \ / \ / \ / \ ( F | L | E | E | T | - | R | E | C ) - \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ + \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \033[0m \033[34m Installation Complete. Congratulations! -- GitLab