Skip to content

Commit

Permalink
chore: fix version path file reading
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoh committed Jul 17, 2023
1 parent c11b33c commit 63bcb37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#: Load version from source file
version = {}
version_file = Path(__file__) / "src" / "projectname" / "version.py"
version_file = Path(__file__).parent / "src" / "projectname" / "version.py"
exec(version_file.read_text(), version)

setup(
Expand Down

0 comments on commit 63bcb37

Please sign in to comment.