From 01073ca563d3c4cd38a6df3a3ef1c61a08e9c782 Mon Sep 17 00:00:00 2001 From: Goekdeniz-Guelmez Date: Wed, 31 Jul 2024 23:25:10 +0200 Subject: [PATCH] update setup.py --- setup.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index ea71723..dd1ef15 100644 --- a/setup.py +++ b/setup.py @@ -5,8 +5,6 @@ # Get the project root directory root_dir = Path(__file__).parent -# Add the package directory to the Python path -package_dir = root_dir requirements_file = root_dir / "requirements.txt" @@ -19,7 +17,7 @@ # Import the version from the package version = {} -with open(str(package_dir / "version.py")) as f: +with open(str(root_dir / "model" / "version.py")) as f: exec(f.read(), version) # Setup configuration @@ -38,5 +36,5 @@ python_requires=">=3.10", classifiers=[ "Programming Language :: Python :: 3.10" - ], + ] )