From 58693debf2cdb774a7b9659214ba9aa9453af8d0 Mon Sep 17 00:00:00 2001 From: Thomas Falch Johansen Date: Wed, 20 Sep 2023 14:40:47 +0200 Subject: [PATCH] fix: make ecalc installable again When restructuring libecalc the previous mappings for which packages was removed for simplicity. We need to include those in order to make poetry/pip include the required packages in src/ directory, since it will only include libecalc by default (it will look for src dir and package name). It is nevertheless better to be explicit. The current functionality is the same way as it worked before it failed. --- pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 340bc87225..8b74f4ae31 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,6 +30,12 @@ classifiers=[ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", ] +packages = [ + { include = "cli", from = "src" }, + { include = "neqsim_ecalc_wrapper", from = "src" }, + { include = "libecalc", from = "src" }, +] + [tool.poetry.scripts] ecalc = 'cli.main:main'