gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnumed-devel] imports changed to package based import


From: Karsten Hilbert
Subject: [Gnumed-devel] imports changed to package based import
Date: Thu, 4 Mar 2004 21:05:38 +0100
User-agent: Mutt/1.3.22.1i

Please forward as I am blacklisted (?)
--------------------------------------

I have changed the import regime to using packages:

from Gnumed.<pycommon|business|wxpython> import <foo>

For that to work one needs to create
    .../site-packages/Gnumed/
and link
    client/pycommon/
    client/wxpython/
    client/business/
    client/__init__.py
into it.

We need to find some magic now to set PYTHONPATH appropriately
in gnumed-from-cvs-tree.sh such that things still work.

The GUI comes up albeit no plugins will get loaded due to
unresolved import statements. Please convert them as needed.
Also, the
if __name__ == __main__:
    sys.path.append()

stuff can go now (but may need a replacement here and there).

Please report any breakage.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

[Prev in Thread] Current Thread [Next in Thread]