Skip to content

Commit

Permalink
fix setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
obfusk committed Aug 12, 2020
1 parent e6175f7 commit eb844ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"jiten._sqlite3_pcre", ["sqlite3-pcre.c"],
libraries = "pcre sqlite3".split()
)
data = [ "static/*." + x for x in "svg css js".split() ] \
data = [ "res/jlpt/N" + l for l in "12345" ] \
+ [ "static/*." + x for x in "svg css js".split() ] \
+ [ "static/audio/*.mp3" ] \
+ [ "static/font/*." + x for x in "ttf txt".split() ] \
+ [ "templates/*.html" ]
Expand All @@ -22,7 +23,7 @@
# "build" *.sqlite3
jiten.cli.cli("-v setup".split(), standalone_mode = False)

data += [ "res/*.sqlite3" ] + [ "res/jlpt/N" + l for l in "12345" ]
data += [ "res/*.sqlite3" ]
else:
data += [ "res/freq/" + x for x in """SOURCES base_aggregates.txt.nobom
wordfreq_ck.utf8""".split() ] \
Expand Down

0 comments on commit eb844ac

Please sign in to comment.