mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Support setting overridden python path via VS properties page
This commit is contained in:
@@ -13,9 +13,9 @@ Build instructions for your platform are available `on github <https://github.co
|
||||
.. note::
|
||||
On windows by default RenderDoc builds against python 3.6 which is what it's distributed with.
|
||||
|
||||
This can be overridden by setting the environment variable ``RENDERDOC_PYTHON_PREFIX32`` and/or ``RENDERDOC_PYTHON_PREFIX64`` to point to a python installation.
|
||||
This can be overridden by setting an overridden path under the ``Python Configuration`` section in the properties of the ``qrenderdoc`` project. It must point to a python installation.
|
||||
|
||||
RenderDoc requires pythonXY.lib, include files such as include/Python.h, as well as a .zip of the standard library. If you installed python with an installer you have the first two, and can generate the third by zipping the contents of the Lib folder. If you downloaded the embeddable zip you will only have the library zip, you need to obtain the include files and library separately.
|
||||
RenderDoc requires pythonXY.lib, include files such as include/Python.h, as well as a .zip of the standard library. If you installed python with an installer you have the first two, and can generate the standard library zip by zipping the contents of the Lib folder. If you downloaded the embeddable zip distribution you will only have the standard library zip, you need to obtain the include files and ``.lib`` file separately.
|
||||
|
||||
Once you have compiled RenderDoc copy the python module into the same folder as the main renderdoc library. On windows this means copying out of the ``pymodules`` subdirectory, on linux this will likely be the case already. We do this to keep things simple, so the python module can load the library without needing to change ``PATH``.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user