Skip to content

Commit

Permalink
Merge pull request #999 from msarahan/fix_no_build
Browse files Browse the repository at this point in the history
set empty build section if none exists
  • Loading branch information
msarahan committed Jun 6, 2016
2 parents 19731cf + e86b893 commit af94221
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conda_build/post.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,8 @@ def check_symlinks(files):

def get_build_metadata(m):
src_dir = source.get_dir()
if "build" not in m.meta:
m.meta["build"] = {}
if exists(join(src_dir, '__conda_version__.txt')):
print("Deprecation warning: support for __conda_version__ will be removed in Conda build 2.0." # noqa
"Try Jinja templates instead: "
Expand Down

0 comments on commit af94221

Please sign in to comment.