From 794292740c30bfea48dc23eb62fb6aa531bfdca7 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sun, 26 Dec 2021 13:53:33 +0100 Subject: Use more modern packaging system Signed-off-by: Olivier Gayot --- setup.cfg | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 setup.cfg (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..6712f5d --- /dev/null +++ b/setup.cfg @@ -0,0 +1,39 @@ +[metadata] +name = swiftstory +version = 0.1 +author = Olivier Gayot +author_email = olivier.gayot@sigexec.com + +description = SwiftStory game: We're not out of the woords yet +url = https://git.sigexec.com/cgit.cgi/swiftstory.git +classifiers = + Programming Language :: Python :: 3 + License :: BSD-3 + Operating System :: OS Independent + +[options] +packages = find: +python_requires = >=3.7 + +[options.data_files] +share/swiftstory/www/ = + usr/share/swiftstory/www/index.html + usr/share/swiftstory/www/swiftstory-config.js + usr/share/swiftstory/www/swiftstory-common.css + usr/share/swiftstory/www/swiftstory-common.js + 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 +# 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.entry_points] +console_scripts = + swiftstoryd = swiftstory.__main__:main -- cgit v1.2.3