From 2d4c69d698df7e40709ec0e38463b4cf30ee388d Mon Sep 17 00:00:00 2001 From: ROUVREAU Vincent Date: Tue, 3 Nov 2020 17:39:07 +0100 Subject: Fix #416 by adding full path to introduction.rst - maybe strange with conda or pip installation --- src/python/setup.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/setup.py.in b/src/python/setup.py.in index 98d058fc..1d6745fd 100644 --- a/src/python/setup.py.in +++ b/src/python/setup.py.in @@ -65,7 +65,7 @@ for module in pybind11_modules: )) # read the contents of introduction.rst -with open("introduction.rst", "r") as fh: +with open("@CMAKE_CURRENT_BINARY_DIR@/introduction.rst", "r") as fh: long_description = fh.read() setup( -- cgit v1.2.3