[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: Pate
From:       Dominik Haumann <dhaumann () kde ! org>
Date:       2012-06-30 14:24:54
Message-ID: 201206301624.54176.dhaumann () kde ! org
[Download RAW message or body]

On Wednesday, June 27, 2012 09:25:35 PM Shaheed Haque wrote:
> Hi Christoph,
> 
> If the file is installed to
> "/usr/local/lib/python2.7/dist-packages/PyKDE4/kate.so", then
> PYTHONPATH must include "/usr/local/lib/python2.7/dist-packages".

What about FindPythonLibrary.cmake:
# PYTHON_EXECUTABLE - The path and filename of the Python interpreter.
#
# PYTHON_SHORT_VERSION - The version of the Python interpreter found,
#     excluding the patch version number. (e.g. 2.5 and not 2.5.1))
#
# PYTHON_LONG_VERSION - The version of the Python interpreter found as a human
#     readable string.
#
# PYTHON_SITE_PACKAGES_INSTALL_DIR - this cache variable can be used for 
installing 
#                              own python modules. You may want to adjust this 
to be the
#                              same as ${PYTHON_SITE_PACKAGES_DIR}, but then 
admin
#                              privileges may be required for installation.
#
# PYTHON_SITE_PACKAGES_DIR - Location of the Python site-packages directory.
#
# PYTHON_INCLUDE_PATH - Directory holding the python.h include file.
#
# PYTHON_LIBRARY, PYTHON_LIBRARIES- Location of the Python library.

Maybe PYTHON_SITE_PACKAGES_INSTALL_DIR works?

Greetings
Dominik
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic