Load Cython requirements file instead of reading it in cmake

release/4.3a0
Varun Agrawal 2020-06-24 17:44:03 -05:00
parent 5feaf6dd9d
commit 2475e6c68c
1 changed files with 1 additions and 2 deletions

View File

@ -32,8 +32,7 @@ if (GTSAM_INSTALL_CYTHON_TOOLBOX)
) )
endif() endif()
file(READ "${PROJECT_SOURCE_DIR}/cython/requirements.txt" CYTHON_INSTALL_REQUIREMENTS) set(CYTHON_INSTALL_REQUIREMENTS_FILE "${PROJECT_SOURCE_DIR}/cython/requirements.txt")
file(READ "${PROJECT_SOURCE_DIR}/README.md" README_CONTENTS)
# Install the custom-generated __init__.py # Install the custom-generated __init__.py
# This is to make the build/cython/gtsam folder a python package, so gtsam can be found while wrapping gtsam_unstable # This is to make the build/cython/gtsam folder a python package, so gtsam can be found while wrapping gtsam_unstable