diff --git a/setup.py b/setup.py index 8e2c30b3..b2d532a0 100755 --- a/setup.py +++ b/setup.py @@ -30,8 +30,8 @@ class TempWorkDir: self.original = None def __enter__(self): - self.original = Path('.') - chdir(str(Path(__file__).parent)) + self.original = Path('.').resolve() + chdir(str(Path(__file__).parent.resolve())) return self def __exit__(self, *args):