Skip to content

Commit

Permalink
update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Goekdeniz-Guelmez committed Jul 31, 2024
1 parent 2a0eccd commit 01073ca
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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
Expand All @@ -38,5 +36,5 @@
python_requires=">=3.10",
classifiers=[
"Programming Language :: Python :: 3.10"
],
]
)

0 comments on commit 01073ca

Please sign in to comment.