[Distutils] setuptools "tests" sprint today

Tarek Ziadé ziade.tarek at gmail.com
Sun Jun 29 23:09:47 CEST 2008


On Thu, Jun 26, 2008 at 10:57 PM, Marius Gedminas <marius at pov.lt> wrote:

> On Thu, Jun 26, 2008 at 11:54:16PM +0300, Marius Gedminas wrote:
> > Same error with bzr 1.5, but I finally found the right URL:
> >
> >   bzr branch lp:~setuptools/setuptools-test/main
> >
> > Now, how do I run the test suite?  I see no scripts with suggestive
> > names (such as test.py or runtests.py), setup.py test says there's no
> > such command, nosetests aborts with a mysterious TypeError deep in its
> > internals.
>
> I tried ./setup.py test again, and it worked.  Apparently it needs
> python-setuptools installed in my system Python, which I got as a side
> effect of apt-get installing python-nose.


A yes, there's a setup_requires metadata in setup.py that needs to be
uncommented
for tests to work.

I wonder if this could not be changed to a test_requires section, I'll try


>
> All 55 tests pass here.


Cool, thanks for the feedback



>
>
> Marius Gedminas
> --
> (mental note: stop installing red hat. everytime i do so, it takes ages to
> fix
> my system again.)
>                -- from the sig of Martin Högman
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFIZAKikVdEXeem148RAgT9AJ4qHcdh0nr8fAJBLrLKXimdSAdJ/gCdEOBg
> fdi27NSHc+FcplzHMDABFlo=
> =Frj/
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
>
>


-- 
Tarek Ziadé | Association AfPy | www.afpy.org
Blog FR | http://programmation-python.org
Blog EN | http://tarekziade.wordpress.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20080629/550af547/attachment.htm>


More information about the Distutils-SIG mailing list