Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exclude '.tox', '.nox' from being copied during 'pip install .' #6770

Merged
merged 14 commits into from
Aug 5, 2019
Prev Previous commit
Next Next commit
lint take 2 (not sure how to test locally)
  • Loading branch information
omry committed Jul 23, 2019
commit e8330528bfb0e2dac63e02cd6d1f45fd8f11ce92
3 changes: 1 addition & 2 deletions src/pip/_internal/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -947,8 +947,7 @@ def unpack_file_url(
# see dicsussion at:
omry marked this conversation as resolved.
Show resolved Hide resolved
# https://github.com/pypa/pip/issues/2195
# https://github.com/pypa/pip/pull/2196
ignore=shutil.ignore_patterns('.tox', '.nox', '.git', '.hg', '.bzr', '.svn')
)
ignore=shutil.ignore_patterns('.tox', '.nox', '.git', '.hg', '.bzr', '.svn'))

if download_dir:
logger.info('Link is a directory, ignoring download_dir')
Expand Down