[Zope3-dev] initial checkin of cxoracleda

Bernd Dorn zope-mailinglist at mopa.at
Thu Oct 20 11:19:00 EDT 2005


On 20.10.2005, at 14:13, Stephan Richter wrote:

> On Wednesday 19 October 2005 16:26, Bernd Dorn wrote:
>
>> it is tested against 3.0 and 3.1 versions of zope
>>
>> see: http://svn.zope.org/cxoracleda/
>>
>
> Note that if you create a SETUP.cfg file, the ZCML slug, i.e.
> cxoracleda-configure.zcml, is automatically installed in the  
> package-includes
> directory. This is the recommended way of doing things these days.
>
> Eventually, you should also use zpkgtools to create your package, of
> course. ;-)
>
hi stphan,

  that's actually the next step i wanted to do, but i have to look at  
the zpgk stuff before

another question:

in my testcase http://svn.zope.org/cxoracleda/trunk/tests/ 
test_adapter.py?rev=39515&view=auto

i  need to somehow get the connection information from a property  
file, is this the right way to do this

i do this like this::

import os
propFile = os.path.join(os.environ.get('HOME'),"etc/zope/cxoracleda/ 
testproperties.py")

try:
     execfile(propFile)
except:
     raise "Local property file not found",propFile

this is a problem i think for automated tests etc.

any sugestions ?

thx, bernd

> Regards,
> Stephan
> -- 
> Stephan Richter
> CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
> Web2k - Web Software Design, Development and Training
>



More information about the Zope3-dev mailing list