Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

[MRG] Build directly from cython sources #108

Merged
merged 1 commit into from
Feb 14, 2017

Conversation

lesteve
Copy link
Contributor

@lesteve lesteve commented Feb 13, 2017

This uses the same approach as in scikit-learn:

  • in development mode .cpp are built directly from cython sources
  • in release mode you build from .cpp files this allow to build from a released .tar.gz without cython

As part of this commit the .cpp files have been removed from the repo.

Remove .cpp files from repo
@mblondel
Copy link
Member

Awesome, thanks a lot!

LGTM. @fabianp can you take a second look and merge?

@fabianp
Copy link
Member

fabianp commented Feb 14, 2017

looks good to me. merging

@fabianp fabianp merged commit 15ce1c8 into scikit-learn-contrib:master Feb 14, 2017
@lesteve lesteve deleted the build-from-cython branch February 15, 2017 08:37
@casotto
Copy link
Contributor

casotto commented Feb 16, 2017

Hello,
I am a windows user that used to struggle to get a compiled version of lightning.
After this change everything compiles without any problems.
FYI the only difference I noticed in the compiled files is on the random_fast.cpp, the other give the same results.

Thanks a lot @lesteve !
Mattia

@lesteve
Copy link
Contributor Author

lesteve commented Feb 16, 2017

Glad to hear that @casotto !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants