I''m not aware of any .pyx files in scikit-learn which require special compilation flags, though other devs may wish to correct me on that.
   Jake

On 10/12/2012 01:02 PM, Daniel Mahler wrote:
Thanks Jake,

Does that mean that all the scikits .pyx file can be compiled independently without any flags ?
When working on multiple files, is it safe to have script does:

    find . -name '*.pyx' -print0 | xargs -0 cython

before call setup.py?

cheers
Daniel

On Fri, Oct 12, 2012 at 8:59 PM, Jake Vanderplas <[email protected] <mailto:[email protected]>> wrote:

    Hi Daniel,
    sklearn is set up this way so that cython is not a build
    dependency for users: we operate under the simpler the
    installation is for end-users, the better (even if it causes minor
    headaches for developers).

    When I want to try out changes in a pyx file, I modify the file,
    use `cython filename.pyx` to generate the C file, and then run
    setup.py
       Jake


    On 10/12/2012 11:44 AM, Daniel Mahler wrote:
    [These must all be FAQs, but I have not beeen able to find the
    answer]

    What is the recommended way to build scikit so that .c files are
    regenerated from .pyx files?
    I want to try out some changes to
    sklearn/ensemble/_gradient_boosting.pyx,
    but the setup.py seems to be written to just run gcc on the
    generated .c files which is also checked into git.
    What do developers working on cython files do?
    What is the reason for checking in the .c files and not having
    setup.py generate them from .pyx?

    thanks
    Daniel


    
------------------------------------------------------------------------------
    Don't let slow site performance ruin your business. Deploy New Relic APM
    Deploy New Relic app performance management and know exactly
    what is happening inside your Ruby, Python, PHP, Java, and .NET app
    Try New Relic at no cost today and get our sweet Data Nerd shirt too!
    http://p.sf.net/sfu/newrelic-dev2dev


    _______________________________________________
    Scikit-learn-general mailing list
    [email protected]  
<mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/scikit-learn-general



    
------------------------------------------------------------------------------
    Don't let slow site performance ruin your business. Deploy New
    Relic APM
    Deploy New Relic app performance management and know exactly
    what is happening inside your Ruby, Python, PHP, Java, and .NET app
    Try New Relic at no cost today and get our sweet Data Nerd shirt too!
    http://p.sf.net/sfu/newrelic-dev2dev
    _______________________________________________
    Scikit-learn-general mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/scikit-learn-general




------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev


_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to