Skip to content

Commit

Permalink
allow numpy to be installed
Browse files Browse the repository at this point in the history
  • Loading branch information
bryevdv committed Mar 6, 2013
1 parent ee80957 commit a3e9b8f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions conda/planners.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,11 @@ def create_install_plan(env, spec_strings):

specs.add(spec)

# this is handle the case where a user asks for just python and/or numpy and nothing else
if len(specs) == 0:
if py_spec: specs.add(py_spec)
if np_spec: specs.add(np_spec)

# abort if specifications are already inconsistent at this point
inconsistent = find_inconsistent_specs(specs)
if inconsistent:
Expand Down

0 comments on commit a3e9b8f

Please sign in to comment.