From 159bea8708e6c4064bf119497a89e90db6d6e007 Mon Sep 17 00:00:00 2001
From: jay <jlaura@usgs.gov>
Date: Tue, 14 Aug 2018 13:54:44 -0700
Subject: [PATCH] Adds a conda build

---
 recipe/build.sh  | 3 ++-
 recipe/meta.yaml | 5 +++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/recipe/build.sh b/recipe/build.sh
index c789abd..b2f212e 100644
--- a/recipe/build.sh
+++ b/recipe/build.sh
@@ -2,4 +2,5 @@ source activate base
 mkdir build && cd build
 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PREFIX ..
 make
-python python/setup.py install
\ No newline at end of file
+cd python
+python setup.py install
diff --git a/recipe/meta.yaml b/recipe/meta.yaml
index c619929..c7a094d 100644
--- a/recipe/meta.yaml
+++ b/recipe/meta.yaml
@@ -10,14 +10,15 @@ requirements:
     - {{ compiler('cxx') }}
     - cmake >=3.10
     - libcsm
+  run
+    - libcsm
 
 test:
   commands:
     - import csmapi
     - import csmapi.Isd
     
-
 about:
   home: https://github.com/USGS-Astrogeology/CSM-Swig
   license: None
-summary: "SWIG Wrapper to generate bindings to the Community Sensor Model"
\ No newline at end of file
+summary: "SWIG Wrapper to generate bindings to the Community Sensor Model"
-- 
GitLab