diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-03-06 23:13:44 -0500 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-03-06 23:13:44 -0500 |
| commit | 2c0692517b50086cda1f584426c5165a6639c14d (patch) | |
| tree | f980bd533dfefbbe21c857e9f96aba9e726a5c58 /setup.py | |
| parent | bugfix for gamma in kernel (diff) | |
| download | pygensvm-2c0692517b50086cda1f584426c5165a6639c14d.tar.gz pygensvm-2c0692517b50086cda1f584426c5165a6639c14d.zip | |
Try to enforce taking setup() from setuptools package
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -25,6 +25,16 @@ if USE_CYTHON: else: raise +# Try to load setuptools, so that NumPy's distutils module that we use to +# provide the setup() function below comes from the setuptools package. If it +# fails, it'll use distutils' version, which doesn't support installing +# dependencies. +try: + import setuptools +except ImportError: + print("Warning: setuptools not found. You may have to install GenSVM's dependencies manually.") + + def _skl_get_blas_info(): """Copyright notice for this function |
