Skip to content

Commit

Permalink
redirect windows python scripts -> bin.
Browse files Browse the repository at this point in the history
  • Loading branch information
stonier committed May 8, 2012
1 parent 33c3958 commit 2711b0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/python.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ if(SETUPTOOLS_DEB_LAYOUT)
set(SETUPTOOLS_ARG_EXTRA "--install-layout=deb" CACHE STRING "extra arguments to setuptools")
else()
set(PYTHON_PACKAGES_DIR site-packages CACHE STRING "dist-packages or site-packages")
set(SETUPTOOLS_ARG_EXTRA "" CACHE STRING "extra arguments to setuptools")
file(TO_NATIVE_PATH ${CMAKE_INSTALL_PREFIX}/bin PYTHON_INSTALL_PREFIX) # setuptools is fussy about windows paths
set(SETUPTOOLS_ARG_EXTRA "--install-scripts=${PYTHON_INSTALL_PREFIX}" CACHE STRING "extra arguments to setuptools")
endif()

# Windows setuptools installs to Lib/site-packages not Lib/python2.7/site-packages
Expand Down

0 comments on commit 2711b0c

Please sign in to comment.