correct use of __file__

This commit is contained in:
Paul Robinson
2024-12-02 12:13:04 -07:00
committed by GitHub
parent 1280617249
commit 83887422fb

View File

@ -17,7 +17,7 @@
import os
DIR = os.path.dirname("__file__")
DIR = os.path.dirname(__file__)
with open(os.path.join(DIR, "../setup.py"), "r") as f:
for line in f:
if "version=" in line: