From fb18ff326c1be80f94ec9c3716e0372e82dc11cd Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Thu, 27 Oct 2016 17:19:40 +0200 Subject: [PATCH] Look for conda-smithy in CONDA_FOLDER --- gitlab/update_feedstock.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gitlab/update_feedstock.py b/gitlab/update_feedstock.py index a0c1df5..132218d 100755 --- a/gitlab/update_feedstock.py +++ b/gitlab/update_feedstock.py @@ -132,7 +132,10 @@ def main(package, direct_push=False): with open('recipe/meta.yaml', 'w') as f: f.write(doc) - run_commands(['conda-smithy', 'rerender'], + conda_smithy_path = os.getenv('CONDA_FOLDER', '') + if conda_smithy_path: + conda_smithy_path = conda_smithy_path + os.sep + run_commands([conda_smithy_path+'conda-smithy', 'rerender'], ['git', '--no-pager', 'diff'], ['git', 'add', '-A']) try: -- GitLab