From ea7b65a6310d8b827501565ce2cc9fb0eed9ab93 Mon Sep 17 00:00:00 2001 From: Alban Costaz Date: Tue, 22 Feb 2022 11:51:41 +0100 Subject: [PATCH] Fixed libparsec file scheme in setup.py --- newsfragments/2046.empty.rst | 0 setup.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 newsfragments/2046.empty.rst diff --git a/newsfragments/2046.empty.rst b/newsfragments/2046.empty.rst new file mode 100644 index 00000000000..e69de29bb2d diff --git a/setup.py b/setup.py index eeca512fbbe..03dd9a17259 100755 --- a/setup.py +++ b/setup.py @@ -290,7 +290,7 @@ def get_requirement_from_file(file): # shipped in production) and only contains rewriting of Python parts so # it can be safely ignored for any purpose. "oxidation": [ - f"libparsec @ file://{(Path(__file__) / '../oxidation/libparsec_python').resolve().absolute()}" + f"libparsec @ file://localhost{Path(os.path.dirname(os.path.abspath(__file__))) / 'oxidation/libparsec_python'}" ], }