Skip to content

Commit 37ee397

Browse files
committed
make the 1.2 release
1 parent f1d62e8 commit 37ee397

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ release or re-license their work to a Creative Common License of their choice.
1313

1414
## Available CC licenses
1515

16-
Currently 100% of the assets found in the LE fall under either the CC0 or CC-BY license.
16+
Currently 100% of the assets found in the LE fall under one of the Creative Commons licenses.
1717

1818
As more content creators are contacted, they can pick a CC license that bests suites them.
1919

@@ -26,10 +26,15 @@ purposes without restriction under copyright or database law.
2626

2727
### CC-BY
2828
CC-BY is a license which only stipulates that you include the original author's name with
29-
the work, including all derived work.
29+
the work.
3030

3131
- CC-BY https://creativecommons.org/licenses/by/4.0/
3232

33+
### CC-BY-NC
34+
CC-BY-NC is the same as CC-BY except that it can't be used for commercial use.
35+
36+
- CC-BY-NC https://creativecommons.org/licenses/by-nc/4.0/
37+
3338
## People you should thank
3439

3540
Alain "Spyder" Brunotte, released over a 1300 assets under the CC0 license. Spyder wrote:

make_release.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import sys
77
import tarfile
88

9-
RELEASE_PATH = "uixr-assets-cc0-1.1.tar"
9+
RELEASE_PATH = "uixr-assets-le-1.2.tar"
1010
ASSET_PATH = "../../../Private"
1111

1212

@@ -34,7 +34,8 @@ def either(c):
3434
additional_assets = []
3535
print("Gathering assets: ")
3636
for row in uixr_data:
37-
if row.get('license').lower() == 'cc0':
37+
row_license = row.get('license').lower()
38+
if row_license == 'cc0' or row_license == 'cc-by' or row_license == 'cc-by-nc':
3839
sys.stdout.write("\033[K")
3940
sys.stdout.write(next(spinner))
4041
sys.stdout.write(" [{0}]".format(row.get('asset')))
@@ -85,9 +86,12 @@ def either(c):
8586
f.seek(0) # reset to beginning of csv file
8687
for row in uixr_data:
8788
if row.get('asset').lower() == relative_asset_path.lower():
88-
if row.get('license').lower() == 'cc0':
89+
row_license = row.get('license').lower()
90+
if row_license == 'cc0':
8991
break # good to go, break
90-
elif row.get('license').lower() == 'cc-by':
92+
elif row_license == 'cc-by':
93+
break # good to go, break
94+
elif row_license == 'cc-by-nc':
9195
break # good to go, break
9296
else:
9397
print("WARNING: Non-CC license asset -> {0}".format(relative_asset_path))

0 commit comments

Comments
 (0)