Skip to content

Commit

Permalink
fix build_dist_data (PaddlePaddle#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
Superjomn authored and jacquesqiao committed Jan 12, 2018
1 parent 7780126 commit fabc304
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit fabc304

Please sign in to comment.