Source

pyd /

Filename Size Date modified Message
doc
examples
infrastructure
437 B
1.4 KB
0 B
2.3 KB
188 B
25.6 KB
2.7 KB
1.3 KB
1.3 KB
1.3 KB
3.6 KB
5 B

Welcome to Pyd!

Pyd is currently under development, and is in the middle of API changes (https://bitbucket.org/ariovistus/pyd/wiki/Changes)

This package is composed of two separate parts:

  • CeleriD - An extension to Python's Distutils that is aware of D.
  • Pyd - A library for D that wraps the Python API.

CeleriD was originally written by David Rushby, and Pyd is written by Kirk McDonald. Pyd uses a number of additional libraries; see credits.txt for details. These libraries are contained in the "infrastructure" directory.

INSTALLATION

In the easiest case, you just need to say:

python setup.py install

while in the root directory of the project. This will place CeleriD in Python's site-packages directory, and Pyd lives inside of CeleriD.

The easiest time will be had if both D and Python are on the system's PATH. This is not required, however:

  • On Windows, only the DMD compiler is supported. If it is not found on the PATH, CeleriD will check the DMD_BIN environment variable.
  • On Linux, currently the LDC compiler is supported. If it is not found on the PATH, CeleriD will check the LDC_BIN environment variable.

Examples of using Pyd may be found in the "examples" directory. For full documentation, check the wiki:

https://bitbucket.org/ariovistus/pyd/wiki/Home

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.