Commit Graph

15 Commits

Author SHA1 Message Date
Loïc Estève 6a2d8d5bbc [MRG+2] BUILD Rewrite setup.py files to handle cython dependencies (#7719)
* Rewriting of cythonization in setup.py

By using Cython.Build.cythonize and switching between .c and .pyx files
as appropriate cython dependencies are correctly taken into account.

* Use cythonize once on the root config rather than in each subpackage

* Fix for Windows

* Remove caching from Travis

Cython dependencies are taken care of by Cython.Build.cythonize and
based on file timestamps, so .C and .so files will always be rebuild
from scratch on each build in Travis.

* Specify .pyx in setup.files for cython generated extensions

More natural this way. Tweak the extensions to generate from .c and .cpp
files for a release.

* COSMIT Remove commented out code

* Check cython version is greater than 0.23

* COSMIT better names for functions

* flake8 fix (imported module not at top of file)

* Install cython 0.23 for Python 2.6

now that cython >= 0.23 requirement is enforced in setup.py

* Use module constant for minimum required cython version

* Fix Travis install.sh

No easy way to put comments inside multi-line command
2016-11-02 22:57:04 +11:00
Andreas Mueller c7db70ac9f removed unused variables and imports, add used imports where missing. 2014-06-08 21:44:01 +02:00
Lars Buitinck bb5f643d0c MAINT use CBLAS instead of Fortran API in Liblinear
This saves code and lets Liblinear benefit from fast BLAS implementations
(ATLAS, OpenBLAS, MKL).
2014-03-20 16:07:48 +01:00
Olivier Grisel c95842de00 Use extra_link_args for -lstdc++ 2013-07-28 11:28:10 +02:00
Olivier Grisel 7271d53ff4 Force stdc++ link for the windows build 2013-07-28 10:37:01 +02:00
Stefano Lattarini 67ece78da4 COSMIT various typofixes
As suggested by codespell <https://github.com/lucasdemarchi/codespell>

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
2013-04-11 21:22:14 +02:00
Lars Buitinck b69fb64515 BUG last references to svm.sparse 2013-01-22 02:27:10 +01:00
GaelVaroquaux ed6164d413 MISC: cosmit: use subpackage setup.py 2012-02-03 07:30:16 +01:00
Lars Buitinck bc6255e8e7 ENH merge sparse and dense SVMs, part 1
* enable sparse matrix support in formerly dense versions
* remove DenseBaseLibSVM
* move sparse.libsvm to libsvm_sparse
2012-01-27 17:41:22 +01:00
Andreas Mueller 5c2a8696e3 COSMIT removed unused imports 2012-01-23 21:13:55 +01:00
Jake Vanderplas 7f53024ae9 remove unused imports 2011-12-23 09:27:40 -08:00
Andreas Mueller ff3f814a1b COSMIT pep8 whitespace 2011-11-20 21:16:52 +01:00
Fabian Pedregosa ddf4b72109 Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
Fabian Pedregosa 68f27e3790 Revert "Move project directory from scikits.learn to sklearn"
This reverts commit fd0d3b879d.
2011-09-02 12:03:18 +02:00
Fabian Pedregosa fd0d3b879d Move project directory from scikits.learn to sklearn 2011-09-02 11:38:24 +02:00