Installing Pyd
Requirements
Pyd requires Python 2.4 or newer and the latest version of DMD (on Windows) or GDC (on Linux). At the time of this writing, those versions are DMD 0.177 and GDC 0.20.
Pyd is supported on Windows using the DMD compiler and on Linux using GDC. Support for Derek Parnell's bud
is also planned.
Because Pyd is still in development, it is only available via Subversion. The repository is located here.
Installation
Pyd installs itself as a Python package called celerid
. Once you have downloaded the "trunk" directory, simply run python setup.py install
in that directory, and the celerid
directory will be created in Python's site-packages directory.
CeleriD is an extension to distutils. It tells Python how to use the D compiler. By default, it uses the first version of the compiler that it can find on the system PATH. If the compiler is not on your PATH, or you wish to specify a specific version of it, you may set the DMD_BIN or GDC_BIN environment variable (for Windows and Linux, respectively) to point to the executable you wish to use.