[TIP] data files for testing

Pierre-Yves David pierre-yves.david at logilab.fr
Tue Dec 20 03:05:37 PST 2011

On Tue, Dec 20, 2011 at 10:36:55AM +0000, Andrea Crotti wrote:
> On 12/19/2011 09:55 AM, Pierre-Yves David wrote:
> >Requiring a package to be installed to even developpe on it **is BAD**. Nothing
> >more that build phase should be necessary. And pure python package does not
> >need to be built.
> >
> >
> I agree in general, but it's also true that if you use virtualenv
> you still need to run
> develop.
> Also supposing that your testing requires for example mock or some
> other external
> libraries than you can't really test if you don't build something, right?

Installing dependency is always necessary. Installing them a virtual env is a
good solution if a system wide install don't make sense isn't possible.

I don't feel develop is the right answer to this "install dependancy" usecase
however. The way develop work is more a clumsy work around the fact that egg
break import logic of python.

Pierre-Yves David


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20111220/1b554f5c/attachment.pgp>

More information about the testing-in-python mailing list