[wingide-users] pi files
JBurnett at blizzard.com
Thu May 15 15:41:39 MDT 2008
> > My "Edit, Preferences, Source Analysis, Advanced, Interface File Path"
> > contains this:
> > pi-files
> > c:\Users\jburnett\AppData\Roaming\Wing IDE 3\pi-files <- just for good measure.. not needed?
> This is needed. The directory is not scanned by default.
Ok... however, that's a bit confusing to me. The default for the interface file paths seems to be a single entry of "pi-files", which I'm assuming is supposed to be a relative path. And the tooltip for the field says "if the directory name is relative, it will be interpreted as relative to the user settings directory". If that's true, aren't both the paths above equivalent? However, if I just have the "pi-files" entry, the pi files are ignored.
As for having the maya subdirectory... makes sense, that works, and thanks!
From: Wingware Support [mailto:support at wingware.com]
Sent: Thursday, May 15, 2008 1:16 PM
To: John Burnett
Cc: wingide-users at wingware.com
Subject: Re: [wingide-users] pi files
John Burnett wrote:
> I think I'm having a hard time getting some pi files working, and was wondering what I'm missing. Sorry for the length below, but I'm trying to cover my setup. To describe the problem - I'm using a program call Maya that has python embedded, and it ships with some files like this:
> ...not there's no py files. SO, my first question is, will pi files help in this situation? I'm *assuming* so?
Yes, .pi files can be used to describe the interface of the module.
> Under that assumption, I have a set of pi files like this:
> c:\Users\jburnett\AppData\Roaming\Wing IDE 3\pi-files\OpenMaya.pi
> My "Edit, Preferences, Source Analysis, Advanced, Interface File Path" contains this:
> c:\Users\jburnett\AppData\Roaming\Wing IDE 3\pi-files <- just for good measure.. not needed?
This is needed. The directory is not scanned by default.
> Lastly, if I make a new python file, and type this:
> import maya.OpenMaya as om
> ....I don't get any auto-complete information.
It should work if you move OpenMaya.pi to
c:\Users\jburnett\AppData\Roaming\Wing IDE 3\pi-files\maya Since
OpenMaya is imported from the maya package, the OpnMaya.pi must be in a
More information about the wingide-users