Skip to content

Commit

Permalink
Resolve path before making a symlink
Browse files Browse the repository at this point in the history
ghstack-source-id: ec5330cd6ce926062ec1e12020c7beac7cc6fb68
Pull Request resolved: https://github.com/fairinternal/xformers/pull/467

__original_commit__ = fairinternal/xformers@cf05d62c7b7f7ac5ee1106666a2bc437fee006be
  • Loading branch information
danthe3rd authored and xFormers Bot committed Feb 10, 2023
1 parent 36e23c5 commit 12c076d
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 @@ -66,7 +66,7 @@ def write_version_file(version: str):


def symlink_package(name: str, path: Path, is_building_wheel: bool) -> None:
cwd = Path(__file__).parent
cwd = Path(__file__).resolve().parent
path_from = cwd / path
path_to = os.path.join(cwd, *name.split("."))

Expand Down

0 comments on commit 12c076d

Please sign in to comment.