diff --git a/setup.py b/setup.py
index f2dc8ee26e5980f2f218237391f64f1cf421f9ee..3166f58ca6d6cfff607ad8e82af20e4d4a5eb402 100644
--- a/setup.py
+++ b/setup.py
@@ -1,5 +1,6 @@
 from setuptools import setup, find_packages
 
+project_root_dir = Path(__file__).parent.resolve()
 with open(project_root_dir / "requirements.txt", "r", encoding="utf-8") as _file:
     INSTALL_REQUIRES = _file.read().splitlines()