From ed78eb162e20719ddc595eb6d3f9ca9172e3bfbc Mon Sep 17 00:00:00 2001 From: ChunweiYan Date: Fri, 12 Jan 2018 13:30:25 +0000 Subject: [PATCH] fix build_dist_data --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a09d2714d..2a456f20d 100644 --- a/setup.py +++ b/setup.py @@ -79,8 +79,9 @@ def run(self): data_root = os.path.join(TOP_DIR, 'visualdl/server/dist') for root, dirs, files in os.walk(data_root): for filename in files: - path = os.path.join(root, filename)[len(data_root)+1:] + path = 'dist/'+os.path.join(root, filename)[len(data_root)+1:] datas.append(path) +print datas setup( name="visualdl",