[Python-Dev] PEP 229 checked in

Thomas Wouters thomas@xs4all.net
Fri, 19 Jan 2001 21:55:53 +0100


On Fri, Jan 19, 2001 at 01:55:29PM -0600, Skip Montanaro wrote:
> 
>     Thomas> But it is going to have to change: you now have to include the
>     Thomas> build tree as well, and that is quite a bit more difficult to
>     Thomas> figure out. I'd suggest a 'make run' that calls python with the
>     Thomas> appropriate PYTHONPATH environment variable, but that doesn't
>     Thomas> cover test-scripts (which I use a lot myself.)

> Doesn't Andrew's new "platform" target in the top-level Makefile do the
> right thing?  It *should* generate a platform-specific path to the correct
> build subdirectory.

Yes, it does, that's what I meant with 'make run'. But that isn't quite as
user-friendly as the current method. How would you run a script with the
current python ? 'make SCRIPT=./spamtest.py runscript' ?

-- 
Thomas Wouters <thomas@xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!