[wingide-users] PyLint Integration Script (Beta 3)

Encolpe Degoute encolpe.degoute at free.fr
Thu Nov 2 04:05:10 MST 2006

Wingware Support a écrit :
> On Thu, 5 Oct 2006, Markus Meyer wrote:
>> Hi Peter,
>> yes, the script doesn't currently respect any project settings,
>> including PYTHONPATH. If anyone knows how this can be done easily, feel
>> free to tell me (or, ideally, submit a patch ;)....
> Assuming you want to get at the Python Path set for the project 
> as a whole (and not a particular file via File Properties) then
> the magic through-the-formal-API incantation is:
>   import wingapi
>   from proj import attribs
>   ignore, path = wingapi.gApplication.GetAttribute(attribs.kPyPath)[None]

I tried this one and and is always return an empty path chain even if
Zope/Plone option is enabled in project configuration.

Logiciels libres, hockey sur glace et autres activités cérébrales

More information about the wingide-users mailing list