Skip to content

Commit

Permalink
removed NumPy requirement from setup.py (resolves #2136)
Browse files Browse the repository at this point in the history
  • Loading branch information
0x00b1 committed Jul 13, 2016
1 parent ef83ee4 commit dffe1d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
@@ -1,6 +1,7 @@
import distutils
import glob
import importlib
import math
import os
import shlex
import setuptools
Expand Down Expand Up @@ -55,7 +56,6 @@

try:
import matplotlib
import numpy # for proper discovery of its libraries by distutils
import scipy.sparse.csgraph._validation
import scipy.linalg
import zmq # for proper discovery of its libraries by distutils
Expand Down Expand Up @@ -345,7 +345,7 @@ def run(self):
'Name: "{group}\Ilastik"; '
'Filename: "{app}\CellProfiler.exe"; '
'Parameters:"--ilastik"; WorkingDir: "{app}"\n')
if numpy.log(sys.maxsize) / numpy.log(2) > 32:
if math.log(sys.maxsize) / math.log(2) > 32:
cell_profiler_iss = "CellProfiler64.iss"
else:
cell_profiler_iss = "CellProfiler.iss"
Expand Down

0 comments on commit dffe1d4

Please sign in to comment.