diff options
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -14,6 +14,7 @@ classifiers = [options] packages = find: python_requires = >=3.7 +include_package_data = True [options.data_files] share/swiftstory/www/ = @@ -26,13 +27,9 @@ share/swiftstory/www/ = usr/share/swiftstory/www/swiftstory-mobile.js # TODO install jQuery using libjs-jquery usr/share/swiftstory/www/jquery.js -# TODO install cards as package data instead -share/swiftstory/lang/en/cards = - usr/share/swiftstory/lang/en/cards/black.json - usr/share/swiftstory/lang/en/cards/white.json -share/swiftstory/lang/fr/cards = - usr/share/swiftstory/lang/fr/cards/black.json - usr/share/swiftstory/lang/fr/cards/white.json + +[options.package_data] +swiftstory = data/lang/*/cards/*.json [options.entry_points] console_scripts = |