Hi Joris, Thanks, I'll try that.
On Fri, Jun 1, 2018 at 5:20 AM, Joris Van den Bossche < jorisvandenboss...@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 <dylanf...@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@python.org >> https://mail.python.org/mailman/listinfo/scikit-learn >> >> > > _______________________________________________ > scikit-learn mailing list > scikit-learn@python.org > https://mail.python.org/mailman/listinfo/scikit-learn > >
_______________________________________________ scikit-learn mailing list scikit-learn@python.org https://mail.python.org/mailman/listinfo/scikit-learn