Skip to content

Commit 4e2551f

Browse files
python-package: rename lets-plot.js to lets-plot.min.js in setup.py
1 parent f6a68e8 commit 4e2551f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

python-package/setup.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
def update_js():
2020
js_relative_path = ['js-package', 'build', 'dist', 'js', 'productionExecutable']
2121
js_libs = [
22-
'lets-plot.min',
22+
'lets-plot',
2323
]
2424

2525
from shutil import copy
@@ -31,7 +31,8 @@ def update_js():
3131
if not os.path.isdir(dst_dir):
3232
os.mkdir(dst_dir)
3333

34-
copy(js_path, dst_dir)
34+
dst_path = os.path.join(dst_dir, lib + '.min.js')
35+
copy(js_path, dst_path)
3536

3637

3738
version_locals = {}

0 commit comments

Comments
 (0)