From 63a5ba1eb89a9d7ab08f1baf413b84898ad752f0 Mon Sep 17 00:00:00 2001 From: Yuce Tekol Date: Sun, 6 Oct 2024 18:21:05 +0300 Subject: [PATCH] Setting PYTHONPATH in `Makefile` is necesary now --- INSTALL.md | 3 ++- Makefile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 2861f16..1272861 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -3,7 +3,7 @@ ## Requirements * Python 3.8 or later -* SWI-Prolog 9.0.4 or later +* SWI-Prolog 8.4.2 or later * 64bit Intel or ARM processor > [!IMPORTANT] @@ -87,6 +87,7 @@ See: https://www.parabola.nu/packages/?q=python-pyswip ### Debian, Ubuntu, Raspbian +Ubuntu 22.04 has SWI-Prolog 8.4.3 in its repository. Debian Bookworm, Ubuntu 24.04 and Raspberry Pi OS Bookworm have SWI-Prolog 9.0.4 in their repositories. To install PySwip, use the `pip install` way explained above. diff --git a/Makefile b/Makefile index 802a8ea..eb12d9f 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ clean: rm -rf dist build pyswip.egg-info coverage: - py.test tests --verbose --cov=pyswip + PYTHONPATH=src py.test tests --verbose --cov=pyswip upload-coverage: coverage coveralls