Skip to content

Commit 4c1b16f

Browse files
committed
simple python script for bin dist automatization
1 parent dc608ea commit 4c1b16f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

install_bindist.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import os
2+
import sys
3+
import shutil
4+
5+
os.makedirs(sys.argv[2], exist_ok=True)
6+
shutil.copy(sys.argv[3], os.path.join(sys.argv[2], sys.argv[4]))
7+
8+
for f in sys.argv[5:]:
9+
shutil.copy(os.path.join(sys.argv[1], f), os.path.join(sys.argv[2], f))

0 commit comments

Comments
 (0)