From 75ecdb6b1ca42cbffbc8e1f3f12323d6bad7834c Mon Sep 17 00:00:00 2001 From: annahedstroem Date: Tue, 9 May 2023 16:23:37 +0200 Subject: [PATCH] =?UTF-8?q?updated=20setu=C3=83p.py=20with=20absolute=20pa?= =?UTF-8?q?th?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 25610d575..1eb6454d5 100644 --- a/setup.py +++ b/setup.py @@ -3,13 +3,15 @@ # Quantus is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. # You should have received a copy of the GNU Lesser General Public License along with Quantus. If not, see . +import os from setuptools import setup, find_packages from importlib import util -with open("requirements.txt") as f: +with open(os.path.join(os.path.dirname(__file__), "requirements.txt")) as f: + required = f.read().splitlines() -with open("requirements_test.txt") as f: +with open(os.path.join(os.path.dirname(__file__), "requirements_test.txt")) as f: required_tests = f.read().splitlines() # Define extras.