From 94d4514ed55cc21bb1432045c192c345aa13366c Mon Sep 17 00:00:00 2001 From: RuanJohn Date: Wed, 28 Feb 2024 16:59:21 +0200 Subject: [PATCH] chore: add current dir to setup file --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 76b2d39f..37846293 100644 --- a/setup.py +++ b/setup.py @@ -49,7 +49,7 @@ def _parse_requirements(path: str) -> List[str]: """Returns content of given requirements file.""" - with open(os.path.join(path)) as f: + with open(os.path.join(_CURRENT_DIR, path)) as f: return [ line.rstrip() for line in f if not (line.isspace() or line.startswith("#")) ]