Commit Graph

138 Commits

Author SHA1 Message Date
Guillaume Lemaitre 13bccedeb0
MNT add development status in setup.py (#18475) 2020-09-28 16:59:29 -04:00
Jérémie du Boisberranger d8ab62a389
MNT import setuptools before distutils + add some comments (#17956) 2020-07-21 11:33:31 +02:00
Thomas J. Fan 0f114b610d
MNT Places all minimum dependencies in one central location (#17573)
Co-authored-by: Joel Nothman <joel.nothman@gmail.com>
2020-06-27 16:55:25 +02:00
Jérémie du Boisberranger d3e4f24015
BUILD Make sure PKG-INFO contains Requires-Python (#17683) 2020-06-26 18:52:02 -04:00
Julien Jerphanion 2c377eba97
MNT Add extra requirements in setup.py (#17328)
* Add extra requirements

This list is based on requirements given in:

 - contributing.rst
 - build_doc.sh
 - README.rst

* Move extras_require in extra_setuptools_args

* Add versions for extra requirements

* Add variables for extra requirements min version

* (lint) Add extra space

* Change syntax to use f-strings

* Add joblib and threadpoolctl to extras_require

Numpy as Scipy were listed in the extras_require even though
they are necessary requirements.

This just add the other necessary requirements in extras_require
to keep follow the logic.

* Propose dict keys for extras_require

* Remove packing from extras_require

* Remove Cython from extras_require

* Remove install dependencies

* Move packages to appropriate sections

* Remove variables for packages versions

* Revert back to format syntax

This way python <=3.5 users will get appropriate error messages.
2020-06-09 14:02:56 -04:00
Jérémie du Boisberranger 769794249c
[MRG] new K-means implementation for improved performances (#11950) 2020-02-20 13:39:16 +01:00
Adrin Jalali 42706ebf2d
MNT CI dropping python-3.5 (#15106)
* dropping python-3.5

* fix install guide

* fix setup.py

* fix circleci

* advanced_installation

* index.html

* readme

* pyparsing.py

* remove clean_warning_registry

* 1.13.1 and 1.19.1

* don't use 16.04

* 18.04 libatlas-dev -> libatlas-base-dev

* min pillow version for 3.6 is 4.2.1

* echo commands

* fix conflict, and 32 bit

* fix conflict for circle

* fix scikit-image version dep

* mark tests as xfail on 32bit py3.6

* move to 1.13.3 min numpy version, and simplify old code

* remove the rest of _object_dtype_isnan usages

* Revert "remove the rest of _object_dtype_isnan usages"

This reverts commit c6e867ea1f.

* fix issues raised by jeremy

* minor fix

* minor fixes mentioned by Olivier
2020-02-10 12:28:42 +01:00
Adrin Jalali a91304ecd7
DOC Pre 0.22 release (#15735)
* add python 3.8 to setup.py

* add authors to whats_new

* update release date

* move whats new entry to 0.23

* add news section to index.html

* pep8

Co-Authored-By: Thomas J Fan <thomasjpfan@gmail.com>
2019-12-02 12:03:25 +01:00
Jérémie du Boisberranger 9e5819aa41 MNT Include all pxd files in the package (#15626)
* include all pxd files in package

* _libsvm _liblinear to pxi + add a test

* simplify stuff + use pathlib

* cln

* more cln
2019-11-26 17:37:26 +01:00
Adrin Jalali db6c12fc11
MNT require scipy in setup.py (#15597)
* require scipy in setup

* refactor code
2019-11-13 10:34:28 +01:00
Jérémie du Boisberranger 9876f748b0 [MRG] BUILD: warn instead of raise when openmp unsupported (#15174) 2019-11-13 10:03:12 +01:00
Olivier Grisel 82e2f54565 BLD: Do not pre-cythonize when calling sdist (#15567) 2019-11-08 13:04:30 +01:00
Roman Yurchak 2a1e9686ee MAINT Add python_requires>=3.5 to setup.py (#13861)
* Add python_requires to setup.py
* FIX make it possible to run egg_info from Python 2 without numpy
* Informative error message for python2.7 setup.py install (without breaking python2.7 setup.py egg_info)
2019-05-13 14:52:58 +10:00
Roman Yurchak fc33d303c4 MAINT Unvendor joblib (#13531) 2019-04-17 09:22:09 -04:00
jeremiedbb 0fb7cc7520 BLD: check OpenMP support and add a switch to build without it (#13543) 2019-04-17 08:29:37 +10:00
Jarrod Millman a8f417eb04 DOC Add project_urls to setup.py (#13623) 2019-04-12 09:32:58 -07:00
jeremiedbb f652b95ada MNT Use openmp flags for all cython extensions (#13252) 2019-02-28 19:17:52 +01:00
Olivier Grisel 8ee134748d MAINT: explicit error on unsupported Python versions in setup.py (#13272) 2019-02-26 12:20:08 +01:00
Roman Yurchak 0e3bb17e62 MAINT Run pyupgrade following Python2 deprecation (#12997) 2019-02-08 20:13:34 +08:00
jeremiedbb 7307b56992 MNT Update setup and travis to support OpenMP (#13053) 2019-02-04 21:41:11 +11:00
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