summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2021-12-26 13:53:33 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2021-12-26 16:18:08 +0100
commit76b9f0df4feb664b41ab7a23f9be2abafa16c949 (patch)
tree609e3a3071debb483b2c8bc1d279fa849fd4adcc /setup.cfg
parent69072a2abac7d2486e542b9b6ecedcc37016ea27 (diff)
Use more modern packaging systemchange-packaging
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg39
1 files changed, 39 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 0000000..fa8eb03
--- /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.6
+
+[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