[scikit-learn] scikit-learn-contrib: building Cython, cpp files
Dylan Fernando
dylanf123 at gmail.com
Mon Jun 11 05:02:45 EDT 2018
Hi Joris,
Thanks, I'll try that.
On Fri, Jun 1, 2018 at 5:20 AM, Joris Van den Bossche <
jorisvandenbossche at gmail.com> wrote:
> Hi Dylan,
>
> In case you are still looking for a solution:I didn't directly find good
> templates for packages that depend on cython (there are quite some, but
> from quickly looking at them, I didn't find a simple one), but you can
> maybe have a look at one of the other scikit-learn-contrib packages that
> uses cython: https://github.com/scikit-learn-contrib/hdbscan
> And you can check here how to adapt the Extension class to specify c++:
> http://cython.readthedocs.io/en/latest/src/userguide/
> wrapping_CPlusPlus.html#specify-c-language-in-setup-py
>
> Best,
> Joris
>
>
>
> 2018-05-29 6:56 GMT+02:00 Dylan Fernando <dylanf123 at gmail.com>:
>
>> Hi,
>>
>> I would like to publish this:
>> https://github.com/dil12321/scikit-learn/tree/aode
>> https://github.com/scikit-learn/scikit-learn/pull/11093
>>
>> as a scikit-learn-contrib project. However, I'm not sure how to write the
>> setup.py file so that aode_helper.cpp and _aode.pyx get included in the
>> package, and run correctly. How should I write setup.py?
>>
>> Regards,
>> Dylan
>>
>> _______________________________________________
>> scikit-learn mailing list
>> scikit-learn at python.org
>> https://mail.python.org/mailman/listinfo/scikit-learn
>>
>>
>
> _______________________________________________
> scikit-learn mailing list
> scikit-learn at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20180611/5b68b33c/attachment.html>
More information about the scikit-learn
mailing list