Skip to content

Commit

Permalink
Don't search for requirements.txt if using pipfile
Browse files Browse the repository at this point in the history
- Also don't search for requirements.txt if taking in a package name
- Fixes #2222

Signed-off-by: Dan Ryan <[email protected]>
  • Loading branch information
techalchemy committed Jun 6, 2018
1 parent e937d85 commit 83e1ba9
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 83e1ba9

Please sign in to comment.