[ZODB-Dev] RFC: release persistent as a standalone package

Tres Seaver tseaver at palladion.com
Tue Jul 10 12:52:16 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/30/2012 02:02 PM, Tres Seaver wrote:

> I would like to release a '4.0.0' version of the package, and switch 
> the ZODB trunk to pull it in as a dependency (deleting the currently 
> included (older) copy of persistent).  One possible issue is that I 
> have not (yet) made the C extensions work under Python 3.2:  I don't 
> know whether that should be a blocker for a release.

I have a branch of ZODB which makes this go:

  http://svn.zope.org/ZODB/branches/tseaver-persistent_as_egg/

(note that the branch assumes 'persistent' can be installed from PyPI, or
that you have separately installed it beforehand).

In order to work around that fact that setuptools / distribute do not
install headers when it installs eggs[1][2], I have tweaked the setup.py
to pass a "lazy string" for the 'include_path' entry to allow BTrees to
find the 'persisent/cPersistence.h' header.

[1] http://bugs.python.org/setuptools/issue142
[2] https://bitbucket.org/tarek/distribute/issue/295


Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/8JXcACgkQ+gerLs4ltQ6OVwCeIR6w7qOgXMlddKfdKi46TOqC
CIYAoK2kGDm45wTTjNn/fIp6JTATk5fL
=k0wr
-----END PGP SIGNATURE-----



More information about the ZODB-Dev mailing list