Hi Joerg,

Alle 22:17, mercoledì 11 aprile 2007, Jörg Budischewski ha scritto:
> Hi,
>
> thinking about adding python import functionality to pyuno during the
> last years, I have come to the proposal outlined in
>
> http://www.openoffice.org/issues/show_bug.cgi?id=76281

Great!


[...]
> Suggested solution:
> Whenever the pythonloader tries to load a new python unocomponent, it looks
> beside the uno component for a file with the
> name pythonpath.zip. If it exists, it puts it into sys.path (if it is not
> already in there). Afterwards, it loads
> the given component. You can put everything you want to have in
> PYTHONPATH into
> this zip-file. This is necessary,
> as otherwise every file with a .py suffix would be interpreted as a python
> component, packages would fail during the
> registration process.

Just one thing:

With the new extension's concept only files listed in the manifest.xml are 
processed during the installation process, so, wouldn't be possible to avoid 
the zip file and use a simple subfolder inside the package (for 
example "python-include/")?


Thanks
Paolo Mantovani

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to