Skip to content

Commit

Permalink
Fix script path resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
JrGoodle committed Jun 28, 2020
1 parent 5aac513 commit a639488
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/process_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from typing import List, Optional


repo_dir = Path(__file__).parent.parent.absolute()
repo_dir = Path(__file__).resolve().parent.parent.resolve()


def main():
Expand Down
2 changes: 1 addition & 1 deletion src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Written according to the docs at
# https://packaging.python.org/en/latest/distributing.html

repo_dir = Path(__file__).parent.parent.absolute()
repo_dir = Path(__file__).resolve().parent.parent.resolve()
process_readme_script = repo_dir / 'script' / 'process_readme.py'
exec(process_readme_script.read_text())
processed_readme = repo_dir / 'README-processed.md'
Expand Down

0 comments on commit a639488

Please sign in to comment.