[py-dev] revised proposal for py.test/tool install
schmir at gmail.com
schmir at gmail.com
Wed Dec 23 16:27:58 CET 2009
holger krekel <holger at merlinux.eu> writes:
> On Wed, Dec 23, 2009 at 14:04 +0100, schmir at gmail.com wrote:
>> holger krekel <holger at merlinux.eu> writes:
>
> why not? py.test$VER is installed additionally - what would break?
most probably nothing. but it would not help me either.
>
>> I use a pip script installed in ~/bin for different virtualenvs. there
>> is no need to install the same pip version in different virtualenvs, nor
>> is there a need to version the pip binary. This works for me cause it
>> chooses the right python interpreter for me when I run it (i.e. I use
>> "#! /usr/bin/env python" as a shebang).
>
> is there a windows equivalent for this?
I use msys on windows and this also works.
>
> is scons a single-file? Otherwise it needs to import its package
> and that must be installed for all such pythons or do you use
> PYTHONPATH for that?
no, it's not a single file. the scons script changes sys.path. the scons
python package is installed in PREFIX/lib instead of
PREFIX/lib/pyXY/site-packages.
>
>> btw. I've also ran py.test with the *wrong* python interpreter multiple
>> times. versioning the py.test script would not have helped me a single
>> time.
>
> ok. for me and judging from the feedback also for others it would help.
>
yes, you're probably right. But I still think this should be implemented
in distutils.
regards,
- ralf
More information about the py-dev
mailing list