Skip to content

Commit

Permalink
Merge pull request #89 from pelson/conda_npy
Browse files Browse the repository at this point in the history
Fixed requirement on init to have CONDA_NPY set.
  • Loading branch information
pelson committed Mar 23, 2016
2 parents a549480 + 9ce4e56 commit f94ba35
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions conda_smithy/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ def __call__(self, args):
"conda-recipe you want to build a feedstock for. Got {}".format(
args.recipe_directory))

# conda-build has some really fruity behaviour where it needs CONDA_NPY
# and CONDA_PY in order to even read a meta. Because we compute version
# matricies anyway the actual number makes absolutely no difference.
import conda_build.config
conda_build.metadata.config.CONDA_NPY = '99.9'
conda_build.metadata.config.CONDA_PY = 10

# Get some information about the source recipe.
if args.recipe_directory:
meta = MetaData(args.recipe_directory)
Expand Down

0 comments on commit f94ba35

Please sign in to comment.