Configuring the PyScripter IDE for Development of Zope Products

PyScripter has silently proven itself as a fantastic IDE for the development of Python projects. This article describes what configurations are necessary for the development of Zope projects.

Installation

First, one should install PyScripter. The respective download can be found on the website of MMM-Experts. Furthermore, the system should have an available Python Standalone installation at its disposal. You can download the latter from python.org.

Configuration of a persistent PythonPath

A path defined under PySycripter during runtime will obviously not be stored persistently and is no longer available after the application is restarted.

This can be bypassed with the following steps:

  • START - Run: regedit.exe
  • go to the following registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.4\PythonPath
  • that paths to INSTANCE_HOME and SOFTWARE_HOME must be added to the existing paths, for example as:
    • D:\data\zope\instance-8001
    • D:\plone\Plone-2.5.1\Zope\lib\python