diff --git a/setup.py b/setup.py index 58497bd..d57d5f1 100755 --- a/setup.py +++ b/setup.py @@ -48,17 +48,6 @@ library_dirs.append('/usr/local/lib') include_dirs.append('/usr/local/include') -# crazy kludge to find include dir in a conda build: -# check if we are running conda build: -if 'CONDA_BUILD' in os.environ: - print("running in conda build, adding include dir") - prefix = os.environ['PREFIX'] - include_dirs.append(os.path.join(prefix, 'include')) - print("added:", include_dirs[-1]) -else: - print("not running in conda build") - - class cleanall(clean): description = ("cleans files generated by 'develop' mode and files " "autogenerated by cython")