Skip to content

Commit eb844ac

Browse files
committed
fix setup.py
1 parent e6175f7 commit eb844ac

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"jiten._sqlite3_pcre", ["sqlite3-pcre.c"],
1111
libraries = "pcre sqlite3".split()
1212
)
13-
data = [ "static/*." + x for x in "svg css js".split() ] \
13+
data = [ "res/jlpt/N" + l for l in "12345" ] \
14+
+ [ "static/*." + x for x in "svg css js".split() ] \
1415
+ [ "static/audio/*.mp3" ] \
1516
+ [ "static/font/*." + x for x in "ttf txt".split() ] \
1617
+ [ "templates/*.html" ]
@@ -22,7 +23,7 @@
2223
# "build" *.sqlite3
2324
jiten.cli.cli("-v setup".split(), standalone_mode = False)
2425

25-
data += [ "res/*.sqlite3" ] + [ "res/jlpt/N" + l for l in "12345" ]
26+
data += [ "res/*.sqlite3" ]
2627
else:
2728
data += [ "res/freq/" + x for x in """SOURCES base_aggregates.txt.nobom
2829
wordfreq_ck.utf8""".split() ] \

0 commit comments

Comments
 (0)