Skip to content
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.

Commit

Permalink
site-packages should be PYTHON_PACKAGES_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Conley committed Jan 14, 2012
1 parent 0dd683d commit a996cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/python.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ else()
set(SETUPTOOLS_ARG_EXTRA "--install-layout=deb" CACHE STRING "extra arguments to setuptools")
endif()

set(INSTALLED_PYTHONPATH ${CMAKE_INSTALL_PREFIX}/lib/python${PYTHON_VERSION_XDOTY}/site-packages
set(INSTALLED_PYTHONPATH ${CMAKE_INSTALL_PREFIX}/lib/python${PYTHON_VERSION_XDOTY}/${PYTHON_PACKAGES_DIR}
CACHE INTERNAL "This needs to be in pythonpath when setup.py install is called. And it needs to match. But setuptools won't tell us where it will install things.")


0 comments on commit a996cb6

Please sign in to comment.