From d592880c4bc4c581d8847d96ff73bc319ca1fac2 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sun, 26 Dec 2021 17:11:37 +0100 Subject: 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 --- README | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'README') diff --git a/README b/README index bbebcd6..d84a5f8 100644 --- a/README +++ b/README @@ -1,15 +1,14 @@ Installation of the Server ========================== - $ python setup.py build - $ [sudo] python setup.py install + $ python3 -m pip install . Execution ========= Start the python server (it will listen to any connection on port 1236) - $ chdir / && swiftstoryd & + $ swiftstoryd & Installation of the web application =================================== -- cgit v1.2.3