Skip to content

Commit

Permalink
Add pkg_resources.
Browse files Browse the repository at this point in the history
  • Loading branch information
vasole committed Sep 18, 2018
1 parent 9903b07 commit bdba9b3
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions cx_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@ def dummy(*var, **kw):
try:
import pyopencl
OPENCL = True
from PyMca5.PyMcaMath import sift
except :
except:
OPENCL = False

if sys.platform.lower().startswith("linux"):
Expand All @@ -170,7 +169,7 @@ def dummy(*var, **kw):
'h5py._conv', 'h5py._proxy']
else:
H5PY_SPECIAL = True
includes = []
includes = []

import fisx
FISX = True
Expand All @@ -182,14 +181,16 @@ def dummy(*var, **kw):
import PyMca5
import hdf5plugin
import silx
import pkg_resources
SILX = True

special_modules = [os.path.dirname(PyMca5.__file__),
os.path.dirname(matplotlib.__file__),
os.path.dirname(matplotlib.__file__),
os.path.dirname(ctypes.__file__),
os.path.dirname(fisx.__file__),
os.path.dirname(hdf5plugin.__file__),
os.path.dirname(silx.__file__)]
os.path.dirname(silx.__file__),
os.path.dirname(pkg_resources.__file__)]

try:
import tomogui
Expand Down

0 comments on commit bdba9b3

Please sign in to comment.