summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2021-12-23 23:23:03 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2021-12-26 19:42:33 +0100
commitfc5ff4815ba18adadcf9c34283f62bc0390a03c6 (patch)
tree60c3d836d34d03363e960a2c6449ac658db8d4ca /setup.cfg
parentd592880c4bc4c581d8847d96ff73bc319ca1fac2 (diff)
Depend on libjs-jquery instead of shipping jquery files
Although they are bundled in the Python package, the jQuery files are removed from the final Debian package. The dependency on libjs-jquery is used to provide an up-to-date jQuery library. Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg5
1 files changed, 3 insertions, 2 deletions
diff --git a/setup.cfg b/setup.cfg
index 5b94f00..2133e54 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -25,8 +25,9 @@ share/swiftstory/www/ =
usr/share/swiftstory/www/swiftstory-mobile.css
usr/share/swiftstory/www/swiftstory-mobile.html
usr/share/swiftstory/www/swiftstory-mobile.js
-# TODO install jQuery using libjs-jquery
- usr/share/swiftstory/www/jquery.js
+share/swiftstory/www/javascript/jquery/ =
+ usr/share/swiftstory/www/javascript/jquery/jquery.min.js
+ usr/share/swiftstory/www/javascript/jquery/jquery.js
[options.package_data]
swiftstory = data/lang/*/cards/*.json