Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ddkohler committed Jan 25, 2025
1 parent 5bf4d94 commit 455bc6c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@


def read(fname):
with open(os.path.join(__here__, fname)) as f:
with __here__ / fname as f:
return f.read()


extra_files = {"WrightSim": ["VERSION"]}
version = read("WrightSim" / "VERSION").read_text().strip()

with __here__ / "WrightSim" / "VERSION" as version_file:
version = version_file.read_text().strip()

setup(
name="WrightSim",
Expand Down

0 comments on commit 455bc6c

Please sign in to comment.