[py-dev] py.test3, py.test-jython, py.test-pypy ...
Gordon Wrigley
py-dev at tolomea.com
Sun Dec 20 23:05:10 CET 2009
Holger,
So I currently have python, python2, python2.5 and python2.6 available
on my machine. 2.5 and 2.6 are actual executables, the other two are
symlinks to python2.6.
What py.test executables will I get?
My preference would be for it to mirror the python ones. I don't care
about python2 so much, but having it mirror the other 3 would be good.
Gordon
On Mon, Dec 21, 2009 at 9:00 AM, holger krekel <holger at merlinux.eu> wrote:
> 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
> _______________________________________________
> py-dev mailing list
> py-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/py-dev
>
More information about the Pytest-dev
mailing list