Skip to content

Commit

Permalink
fix: add read() again (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
kayman-mk authored Nov 17, 2023
1 parent b5434d6 commit 65c0a4e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ def read_version():
return variables["VERSION"]


def read(fname, encoding="ascii"):
return open(
os.path.join(os.path.dirname(__file__), fname), "r", encoding=encoding
).read()


if __name__ == "__main__":

VERSION = read_version()
Expand Down

0 comments on commit 65c0a4e

Please sign in to comment.