Commit Graph

7 Commits

Author SHA1 Message Date
Adrin Jalali d011aedee6 CI move to the latest cython in ci (#12829) 2018-12-20 09:35:17 +01: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
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
Raghav R V b93ccb9fd9 ENH/MAINT Save hashes once for every file
Minor PEP8 fixes
2016-02-18 13:56:09 +01:00
Raghav R V 368a98f812 ENH/MAINT Check for changes in pxd files too. Cleanup code 2016-02-18 13:56:09 +01: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