Skip to content

Commit

Permalink
slight cleanup of setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisBarker-NOAA committed Mar 9, 2024
1 parent 9660538 commit 000fc4d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 000fc4d

Please sign in to comment.