2012/1/5 Fabian Pedregosa <fabian.pedreg...@inria.fr>:
> On Thu, Jan 5, 2012 at 11:30 PM, Gael Varoquaux
> <gael.varoqu...@normalesup.org> wrote:
>> On Thu, Jan 05, 2012 at 11:28:45PM +0100, Andreas wrote:
>>> As I said, I don't have multiple versions and the only
>>> thing that fails is sklearn.test().
>>
>> OK, so let's move the warning there.
>
> +1. Raising an exception is also OK and might be better in that case.
> Contrary to what I said before, sklearn.test() has never worked when
> run from the module directory.

Sure: as long as nosetests works after a `make inplace` I am fine with
whatever solution.

Also a neat trick: you can point your system install of sklearn to the
source folder (your git checkout) with pip in "Editable mode":

  $ cd /path/to/scikit-learn
  $ sudo pip install -e .

More details here: http://www.pip-installer.org/en/latest/usage.html#edit-mode

No need to mess around with PYTHONPATH anymore to make sklearn
importable from any ipython shell.

-- 
Olivier
http://twitter.com/ogrisel - http://github.com/ogrisel

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to