Repos / pytaku / 4a480c89b4
commit 4a480c89b42669f915859545e008408d1951b6a8
Author: Bùi Thành Nhân <hi@imnhan.com>
Date:   Sun Sep 13 20:39:06 2020 +0700

    include compiled js

diff --git a/pyproject.toml b/pyproject.toml
index 6fb9b85..b9f3a5e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
 [tool.poetry]
 name = "pytaku"
-version = "0.3.19"
+version = "0.3.20"
 description = "Self-hostable web-based manga reader"
 authors = ["Bùi Thành Nhân <hi@imnhan.com>"]
 license = "AGPL-3.0-only"
@@ -8,6 +8,9 @@ packages = [
     { include = "pytaku", from = "src" },
     { include = "mangoapi", from = "src" },
 ]
+# Compiled js bundle dir is in gitignore, which poetry also reads.
+# Therefore, it needs to be specifically whitelisted here:
+include = ["src/pytaku/static/js/*"]
 
 [tool.poetry.scripts]
 pytaku = "pytaku:serve"