[Mailman-Developers] virtualenv and nose2 replace zc.buildout and zope.testing

Barry Warsaw barry at list.org
Wed Aug 28 04:08:31 CEST 2013


Hey everyone,

A while ago I mentioned that I was trying to get rid of zc.buildout to build
Mailman 3 and zope.testing to test it.  This work is now complete and pushed
to trunk.  My thanks to the awesome nose2 project and Jason Pellerin for his
help in answering my questions along the way.

Updated instructions are available in src/mailman/docs/START.rst and it would
be great if you could test this out.  Here's a summary.

* Create a virtual environment using Python 2.7

    % virtualenv --system-site-packages /tmp/py27

* Activate the virtualenv and set it up for development

    % source /tmp/py27/bin/activate
    % python setup.py develop

* Run the tests

    % nose2 -v

This makes building for development consistent with building for (test)
deployment, and simplifies Mailman 3's dependencies, and some implementation
details are nicer now.

Enjoy, and please let me know if you have any problems.
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/mailman-developers/attachments/20130827/8079eb79/attachment.sig>


More information about the Mailman-Developers mailing list