We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c3f2ac commit b547360Copy full SHA for b547360
make_release.py
@@ -0,0 +1,17 @@
1
+#!/usr/bin/python
2
+import csv
3
+import os
4
+import tarfile
5
+
6
+RELEASE_PATH = "uixr-assets-cc0-1.0.tar.gz"
7
8
+with open("Manifests/UIXR.manifest") as f:
9
+ uixr_data = csv.DictReader(f)
10
11
+ tar_ball = tarfile.open(RELEASE_PATH, "w:")
12
13
+ for row in uixr_data:
14
+ if row.get('license').upper() == 'CC0':
15
+ tar_ball.add(os.path.join('../../../Private', row.get('asset')), row.get('asset'))
16
17
+ tar_ball.close()
0 commit comments