[py-dev] py.test3, py.test-jython, py.test-pypy ...
holger krekel
holger at merlinux.eu
Sun Dec 20 23:00:34 CET 2009
On Sun, Dec 20, 2009 at 22:56 +0100, Laura Creighton wrote:
> In a message of Sun, 20 Dec 2009 22:48:52 +0100, holger krekel writes:
> >Hi all,
> >
> >i just committed a change which i'd release together with a bunch
> >of other things as py-1.1.2. It makes py.test install as
> >
> > py.test # if python executable has basename 'python'
> > py.test3 # if python executable has version_info >= (3,0)
> > py.test2.x # if python executable has basename 'python2.x' (x in
> >'4567')
> > py.test-jython # if we are running on jython2.5
> > py.test-pypy # if we are running on pypy
> >
> >does this make sense to you, objections? It does for me because
> >i can more easily run tests with various interpreters. But
> >it means if you run "python2.4 setup.py install" you will not
> >get a 'py.test2.4' only, and no 'py.test' proper.
> >
> >cheers,
> >holger
>
> Ah, you mean you _will_ only get a py.text2.4 ?? or ...
yes, currently it would be 'py.test2.4' only if the executable is
named "python2.4". If it's named "python" and has version_info==(2,4,..)
it would still install as 'py.test'.
holger
More information about the py-dev
mailing list