summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-11-03 17:39:07 +0100
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-11-03 17:39:07 +0100
commit2d4c69d698df7e40709ec0e38463b4cf30ee388d (patch)
tree86654e6bb2294c91e3c00000d8a1ccab355dd536
parent5900b2d802a7387f7fd4a87b5251dcbe6931371c (diff)
Fix #416 by adding full path to introduction.rst - maybe strange with conda or pip installation
-rw-r--r--src/python/setup.py.in2
1 files changed, 1 insertions, 1 deletions
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(