[ZODB-Dev] RE: RE: PersistentMapping
Julien Anguenot
ja at nuxeo.com
Fri Nov 18 11:48:23 EST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tim Peters wrote:
> [Julien Anguenot]
>> Note I added couple of weeks ago a comment about this within the
>> README.txt of ZODB.
>
> I see that you also left the old instructions in README.txt on ZODB trunk,
> so that anyone who reads the whole thing is left with no idea what to try
> ;-)
> >> """
>> To test the build, first build the externals and add the src dir to
>> your PYTHONPATH,
>>
>> % python setup.py build_ext -i
>> % export PYTHONPATH=`pwd`/src:$PYTHONPATH
>>
>> Then run the test script::
>>
>> % python test.py
>> """
>
> Why are you changing PYTHONPATH? That shouldn't be needed -- test.py itself
> adds "src" to sys.path (if you have done "setup.py build_ext -i" and have
> not done "setup.py build"; if you do both, it has to guess, and favors the
> latter).
>
Well I'm not sure it works Tim. My comment was to be able to test the
build *before* installing the ZODB on the Python. I need to try that
again but, if I remember correctly, without the PYTHONPATH update it
didn't work out for me.
> BTW,
>
> setup.py build
> python test.py
>
> should work too; it's a bug that it doesn't (and it worked fine within the
> last few months), but I don't have time for it now.
>
right.
J.
- --
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFDfgXWGhoG8MxZ/pIRAuD2AJ9nAaEhE3fGlJfikFcQWS+swQ7VswCfZif3
8nYCLb1rwaXQ5LrqL/UPIkY=
=dkZG
-----END PGP SIGNATURE-----
More information about the ZODB-Dev
mailing list