On Sun, 11 Jan 2015 21:19:34 GMT, ariovistus wrote:

so pyd distributes import libraries for python/dmd/windows.

when I try to reference them in "libs", dub looks for them in the current directory rather than in the .dub package directory. Is there a way to specify a path relative to the dub package directory?

Do you have the "libs" field in the main project's dub.json, or in the one for pyd itself? In the latter case it should search in the proper folder within the pyd package instead of the current directory.

If you absolutely need to put it into the main project's dub.json, you can get access to pyd's directory using "libs": ["$PYD_PACKAGE_DIR/somelib.lib"].