El dl 02 de 07 del 2007 a les 13:50 +0100, en/na Michael Hoffman va
escriure:
> Francesc Altet wrote:
> > El dl 02 de 07 del 2007 a les 12:41 +0100, en/na Michael Hoffman va
> > escriure:
> >> The instructions indicate that one should use python setup.py build_ext 
> >> --inplace. Contrary to my initial belief, using python setup.py build 
> >> seems to work.
> > 
> > Well, it works, but you cannot use the build directory to run the
> > examples or tests in the next way:
> > 
> > PYTHONPATH=. python tables/tests/test_all.py
> > 
> > The instructions in manual are meant for building and *testing* the
> > package before to install.
> 
> But you can do this:
> 
> PYTHONPATH=build/lib.linux-x86_64-2.5/ python 
> build/lib.linux-x86_64-2.5/tables/tests/test_all.py
> 
> Obviously a bit harder to explain though, considering that the directory 
> name will change depending on platform.

I see. But the point is that this is quite more cumbersome, and error
prone, to write than just:

PYTHONPATH=. python tables/tests/test_all.py

Perhaps somebody in the list knows a clean way of deleting the
extensions created with the 'build_ext --inplace' flags?

> I'm not trying to argue with you, just curious to see if there was some 
> reason I was missing.

No, there was not a special reason beyond simplicity (which is important
enough).

-- 
Francesc Altet    |  Be careful about using the following code --
Carabos Coop. V.  |  I've only proven that it works, 
www.carabos.com   |  I haven't tested it. -- Donald Knuth


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to