Oh I see. Try:
python setup.py develop
to "install" your development checkout.
You can also do "pip install -e ." which has the same effect. (e for
editable.)
-Ken
On Sep 2, 2013 2:12 AM, "Maheshakya Wijewardena" <pmaheshak...@gmail.com>
wrote:
> About IPython notebook.
> Is there way to work around relative imports in notebook? they doesn't
> seem to work as absolute imports. but absolute imports are taken from the
> installed package. I want to import from the version I'm working on.
>
> -Maheshakya
>
>
> On Mon, Sep 2, 2013 at 3:58 AM, Kenneth C. Arnold <
> kcarn...@seas.harvard.edu> wrote:
>
>> In addition to what everyone else has responded: you'd probably enjoy
>> working in an ipython notebook.
>>
>> -Ken
>> On Aug 29, 2013 6:22 AM, "Maheshakya Wijewardena" <pmaheshak...@gmail.com>
>> wrote:
>>
>>> Hi
>>> I'm trying to implements a general Bagging module for Scikit-learn for
>>> an university project. I want to test the methods and classes I've written.
>>> Even for a simple implementation I've to 'make' the entire thing from the
>>> scratch and write tests and do Nosetests for the entire thing. And with
>>> that relative imports in the code like
>>>
>>> from ..base import ClassifierMixin, RegressorMixin
>>> from ..externals.joblib import Parallel, delayed, cpu_count
>>>
>>> I can't test manually what I've written. I want to test simple code
>>> pieces used to create the main module.
>>>
>>> Is there a way how to resolve this. Can you explain how the development
>>> process works if I start coding a new module.
>>> BTW I couldn't get a clear idea about this from the documentation.
>>>
>>> Thank you,
>>>
>>> Best regards,
>>> Maheshakya
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
>>> Discover the easy way to master current and previous Microsoft
>>> technologies
>>> and advance your career. Get an incredible 1,500+ hours of step-by-step
>>> tutorial videos with LearnDevNow. Subscribe today and save!
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Scikit-learn-general mailing list
>>> Scikit-learn-general@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
>> Discover the easy way to master current and previous Microsoft
>> technologies
>> and advance your career. Get an incredible 1,500+ hours of step-by-step
>> tutorial videos with LearnDevNow. Subscribe today and save!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Scikit-learn-general mailing list
>> Scikit-learn-general@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>>
>>
>
>
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> _______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general