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

Tres Seaver tseaver at palladion.com
Sat Aug 11 18:09:06 UTC 2012


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

On 07/10/2012 08:52 AM, Tres Seaver wrote:
> 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

I released persistent 4.0.0 today to PyPI:

 http://pypi.python.org/pypi/persistent

and updated my ZODB branch to use it

 http://svn.zope.org/ZODB/branches/tseaver-persistent_as_egg/?rev=127487&view=rev

At this point, I believe my branch is ready to merge to the trunk.



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/

iEYEARECAAYFAlAmn70ACgkQ+gerLs4ltQ63qwCgqoG5ZE/X8HCgnlYuCU89OXEb
XsgAn1PGyqY0or+6ifFvjvH40KMgp6g2
=lncl
-----END PGP SIGNATURE-----



More information about the ZODB-Dev mailing list