Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # this figures out where to install the Python modules
- #
- execute_process(
- COMMAND python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0,0,\"/usr/local\")"
- OUTPUT_VARIABLE Python_site_packages
- OUTPUT_STRIP_TRAILING_WHITESPACE
- ) # on Ubuntu 11.10 this outputs: /usr/local/lib/python2.7/dist-packages
Add Comment
Please, Sign In to add comment