diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2021-12-26 17:11:37 +0100 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2021-12-26 18:28:21 +0100 |
commit | d592880c4bc4c581d8847d96ff73bc319ca1fac2 (patch) | |
tree | ac4996aa4d81ef55e68b209d4c541c206f1efe61 /debian/copyright | |
parent | 794292740c30bfea48dc23eb62fb6aa531bfdca7 (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/copyright')
-rw-r--r-- | debian/copyright | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/copyright b/debian/copyright index a9f62d4..c9331ff 100644 --- a/debian/copyright +++ b/debian/copyright @@ -7,6 +7,6 @@ Files: * Copyright: Copyright (c) 2021 Olivier Gayot License: BSD-3-clause -Files: usr/share/swiftstory/lang/*/cards +Files: swiftstory/data/lang/*/cards/*.json Copyright: Copyright (c) Cards Against Humanity (https://cardsagainsthumanity.com) License: CC-BY-SA-2.0 |