> focused to ms windows platforms it would be great to use 
> Python distribution
> packages like py2exe or the McMillan installer.
> I tried both. But it increasingly becomes clear that there seem to be
> problems with the SapDB Python module and these distribution 
> utilities. They
> both are missing obsolete python dll's of version 1.5 or 2.1. 
> I currently
> use the newest version 2.3.2. Can anybody tell me how to 
> avoid the SapDB
> module not to include python dll's which will obviously not 
> be necessary for
> the project? Eventually there need to be done some changings 
> in the .py
> files of the package but i would feel better if someone knew 
> how to surround
> the problem in the right way!

1. in directory sapdb, remove the files sql.py, dbm.py and loader.py
2. copy sapdb/python23/*.pyd to sapdb

I hope that the installation tools will now simple use the sapdb/*.pyd 
files and ignore the subdirectories as they are no longer referenced.

Backgound: import sapdb.sql will currently load sapdb/sql.py, which
will then load sapdb/python*/sql.pyd according to the current python
version. 

For Linux/Unix, replace .pyd with module.so.

Daniel Dittmar

-- 
Daniel Dittmar
SAP DB, SAP Labs Berlin
[EMAIL PROTECTED]
http://www.sapdb.org/


-- 
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to