Commit Graph

118 Commits

Author SHA1 Message Date
Adrin Jalali 2bd87f6ed8 Remove python < 3.5 from CI (#12746) 2018-12-14 10:53:12 +01:00
Joel Nothman 1984dac419 MAINT CI [scipy-dev] now uses python 3.7 (#11409) 2018-07-20 09:11:20 -07:00
Ronan Lamy 5592a2eda9 [MRG] PyPy support for all but a couple of estimators (#11010) 2018-07-20 14:39:53 +10:00
Barry Hart 66bf80938b MAINT Use install_requires for numpy and scipy (#10402) 2018-01-14 20:55:28 +11:00
Olivier Grisel d15128b9ea MAINT update links and instructions to download and upload from PyPI 2017-06-23 16:14:00 +02:00
Naoya Kanai 83d65b84fe Update numpy refs to 1.8.2 (#8926) 2017-05-24 11:53:37 +10:00
Joel Nothman db25f57781 [MRG+1] Update version dependencies to numpy 1.8.2, scipy 1.13.3 (#8855) 2017-05-24 08:24:04 +10:00
Shubham Bhardwaj 5135c56bc9 [MRG] removed download_url from setup.py (#8513) 2017-03-06 08:59:39 +01:00
Loïc Estève 53f8082f3a MAINT add Python 3.6 classifier in setup.py 2017-02-02 10:21:54 +01:00
Andreas Mueller b7a1ad2673 Revert "CI report which doc files were likely affected (#7938)" 2016-12-09 15:31:58 +11:00
Loïc Estève e5bf61eee1 [MRG+1] Dropping python 2.6 support (#7890)
* Remove Python 2.6 support

Some details about some slightly orthogonal changes:
* Note about cheking safely for nan is likely not valid any more (commit
  introducing it is c80ca91b)
* scipy.linalg.qr econ parameter removed since scipy 0.9 in favour of
  mode='economic'
* Remove unnecessary libgfortran in conda create command

* Putative fix by setting the random seed

* Revert unintended change

* Reinstate previous logic for checking for NaNs

* Reinstate change in error message

Error messages from Python 2.7 assertRegexp does not contain the
function name, in contrast with Python 3 assertRegex
2016-11-23 17:11:04 -05:00
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
Olivier Grisel b1bd97638a FIX missing import in setup.py 2016-09-14 21:16:47 +02:00
Gael Varoquaux db4e2440c5 ENH: display the original exception (#5906)
Fixes #5905
2016-09-14 12:36:43 -04:00
Jimmy Jia 62978154ba BLD: Add 'alldeps' extra for installing with pip (#6990)
This allows advanced users who are using standard Python package
management tools to install scikit-learn[alldeps], which includes the
appropriate numpy and scipy dependencies.
2016-09-01 09:51:03 +10:00
Sebastian Raschka 39a04f1574 update setup.py PyPI trove classifier section (#7197)
* update pypi trove classifier section

* add 3.4 back
2016-08-22 18:30:09 -04:00
Nelson Liu 4b7a0e01ce enh: reorganize build files
fix: change path for building doc on circleci

enh: removed useless WindowError and cythonize.dat in _build_utils init
2016-02-18 09:40:51 -08:00
Ralf Gommers 6ffc85e55e BLD: fix build issue introduced by gh-5492.
pip installs would fail when compiling against ATLAS.
This is due to a distutils-setuptools issue with monkeypatching that
is triggered if Cython is imported.

See https://github.com/numpy/numpy/issues/7235 for details.
2016-02-14 09:24:29 +01:00
Arthur Mensch 986fb60947 C file removal + cython build + Travis build cache 2015-11-04 14:30:06 +01:00
Adithya Ganesh 1fdfd23a40 Added output of out-of-date SciPy/NumPy versions to setup.py, if detected 2015-09-10 22:59:53 -04:00
Adithya Ganesh 7496e42f7d Made setup.py pep8 compliant 2015-09-02 23:34:29 -04:00
Adithya Ganesh 66b0e13e16 Added reference to SciPy/NumPy min_version vars in ImportError 2015-09-02 19:54:39 -04:00
Adithya Ganesh 6248fee821 Amended error message to remain valid when NumPy/SciPy are installed but out of date 2015-09-02 18:51:13 -04:00
Adithya Ganesh 4b320ce441 Added check to ensure that NumPy and SciPy meet minimum version requirements (NumPy >= 1.6.1, SciPy >= 0.9) 2015-09-02 18:17:46 -04:00
Saket Choudhary f41f2e47c7 FIX: Ensure dependencies installed
Fixes #1495
2015-04-02 00:21:42 -07:00
Olivier Grisel 9825d173ee MAINT make it possible to use wheelhouse-uploader
wheelhouse-uploader makes it possible to leverage our CI infrastructure
(travis and appveyor) to automate the generation of binary packages
for OSX and windows (both .exe and .whl packages).

The cloud containers that are used to store the build artifacts of the
CI workers are configured in the setup.cfg file.

More details at: https://github.com/ogrisel/wheelhouse-uploader
2014-12-29 18:48:49 +01:00
Olivier Grisel 6d7d25fc8c MAINT dev version to follow PEP440 2014-12-25 23:11:15 +11:00
Calvin Giles dd9e512ddb Changed f=open() to with open() as f to eliminate ResourceWarnings. Fixes #3410. 2014-08-31 14:44:11 +01:00
GaelVaroquaux 0f89415424 MAINT: add license info
Fixes #3577
2014-08-19 10:49:59 +02:00
Matthew Brett 1f9c9ae767 ENH: use setuptools for bdist_wheel command
Enable wheel building by importing setuptools.
2014-05-04 18:11:26 +02:00
Michael Becker e841d9d421 TST: Switch from python 3.3 to 3.4 in travis 2014-04-14 11:56:15 -04:00
Olivier Grisel 4c4cb7a58b FIX: make python setup.py clean also delete __pycache__ folders 2014-03-28 20:17:24 +01:00
Gael Varoquaux e7a9331333 BUG: restore setup.py clean functionality
Proper implementation of the clean command.
2013-08-21 10:29:48 +02:00
Gael Varoquaux d334176035 MISC: switch line returns back to unix
Shame on me for messing up line returns. This diff will make history
ugly. Sorry
2013-08-21 10:29:48 +02:00
Gael Varoquaux b4e22b6482 ENH: custom distutils clean command
Leftover .pyd, .dll or .pyc files can cause import errors or test
failures.
2013-08-06 22:48:30 +02:00
Olivier Grisel e647ac81ed Add supported python versions to the classifiers + fixes 2013-07-27 18:50:14 +02:00
Gael Varoquaux 8fe71213f3 ENH: make bdist_rpm work 2013-07-26 21:50:38 +02:00
Abhijeet Kolhe 8c71062a72 Fix setup.py to resolve numpy requirement
during pre-install. This should allow
'pip install numpy cython scipy scikit-learn'
to install scikit.

This fix is based of issue and fixes in Scipy:
https://github.com/scipy/scipy/pull/453
ad0dd3e883
2013-05-13 14:11:20 +02:00
Noel Dawe 99f88db697 make setup.py executable 2013-03-26 22:42:19 +01:00
Olivier Grisel 0cd16d1c02 PY3: Disable lib2to3 2013-03-19 17:42:01 +01:00
Olivier Grisel 1967a0b323 P3K use six to have a python 2 & 3 compatible code base 2013-02-09 18:08:44 +01:00
Anze 0f247204ba P3K: Fix build for py3k + pip.
Same fix as used in numpy. For more info see
http://projects.scipy.org/numpy/ticket/1857.
2012-11-18 16:20:35 +01:00
GaelVaroquaux 2b85071c4c BUG: fix setuptools feature
for instance 'python setup.py develop'
2012-10-27 20:37:19 +02:00
Andreas Mueller f4e2e1ac7e REL put myself as contact / maintainer, fixed url 2012-10-23 11:47:29 +02:00
GaelVaroquaux cde7d2af79 BUG: fix setuptools feature
for instance 'python setup.py develop'
2012-09-11 14:58:15 +02:00
Gael Varoquaux b5519f08da Merge branch 'linking_arrayfuncs'
Conflicts:
	setup.py
	sklearn/__init__.py
2012-07-26 23:33:29 +02:00
GaelVaroquaux 9457f0c6c2 ENH: use sklearn.__version__ in setup.py 2012-07-26 11:47:56 +02:00
David Cournapeau d8e30f1ca8 REF: hack to be able to share distutils utilities.
We took the ugly trick from NumPy to separate build vs normal use of
sklearn imports.
2012-07-25 11:35:40 +01:00
Gael Varoquaux 3b15f4494b TST: test the setup.py using the configure step
Also make the setup less verbose
2012-07-25 10:46:07 +02:00
Gael Varoquaux af2602eb89 BUG: fix setup.py for develop 2012-07-24 14:19:11 +02:00