Skip to content

Commit

Permalink
Merge pull request #2309 from pypa/requirementtxt-fix
Browse files Browse the repository at this point in the history
Don't search for requirements.txt if using pipfile
  • Loading branch information
uranusjr authored Jun 7, 2018
2 parents 066dc93 + 0d5ab61 commit e00fce7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pipenv/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1779,7 +1779,8 @@ def do_install(
keep_outdated = True
more_packages = more_packages or []
# Don't search for requirements.txt files if the user provides one
skip_requirements = True if requirements else False
if requirements or package_name or project.pipfile_exists:
skip_requirements = True
concurrent = (not sequential)
# Ensure that virtualenv is available.
ensure_project(
Expand Down

0 comments on commit e00fce7

Please sign in to comment.