summaryrefslogtreecommitdiff
path: root/debian/control
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2021-12-26 17:11:37 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2021-12-26 18:28:21 +0100
commitd592880c4bc4c581d8847d96ff73bc319ca1fac2 (patch)
treeac4996aa4d81ef55e68b209d4c541c206f1efe61 /debian/control
parent794292740c30bfea48dc23eb62fb6aa531bfdca7 (diff)
Make cards be part of the Python package data
We now load the cards using pkg_resources. This is way better in many aspects: * we can install the package using pip without having issues loading cards * we don't need to chdir to / before running swiftstoryd * we don't need to rely on data_files which is deprecated. Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'debian/control')
-rw-r--r--debian/control3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/control b/debian/control
index 33b1e60..bdb5941 100644
--- a/debian/control
+++ b/debian/control
@@ -9,12 +9,13 @@ Build-Depends: python3-setuptools,
debhelper-compat (= 13),
python3-pytest,
python3-websockets,
+ python3-pkg-resources,
python3
Standards-Version: 3.9.1
Package: swiftstory
Architecture: all
Pre-Depends: ${misc:Pre-Depends}
-Depends: ${misc:Depends}, ${python3:Depends}, python3-websockets
+Depends: ${misc:Depends}, ${python3:Depends}, python3-websockets, python3-pkg-resources
Description: SwiftStory game: We're not out of the woods yet.