Skip to content

Commit

Permalink
Merge pull request #50 from gillins/distutils
Browse files Browse the repository at this point in the history
use numpy.distutils with readthedocs as distutils is now deprecated
  • Loading branch information
neilflood committed Jan 25, 2022
2 parents dcd6adb + d255d0f commit a2d4a9a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from numpy.distutils.core import setup, Extension
withExtensions = True
except ImportError:
from distutils.core import setup
from numpy.distutils.core import setup
withExtensions = False

# Are we installing the command line scripts?
Expand All @@ -48,7 +48,6 @@
extensionsList = [fillminimaC, valueIndexesC]
else:
# This would be for a ReadTheDocs build.
from distutils.core import setup
extensionsList = []

if NO_INSTALL_CMDLINE:
Expand Down

0 comments on commit a2d4a9a

Please sign in to comment.