fixed site pyc regular expression
This commit is contained in:
parent
3db1c1761e
commit
41fd380d1b
@ -117,7 +117,7 @@ def python_ignore(self, ext_pkg, args):
|
||||
|
||||
# Ignore pieces of setuptools installed by other packages.
|
||||
if ext_pkg.name != 'py-setuptools':
|
||||
patterns.append(r'/site.*\.pyc?$')
|
||||
patterns.append(r'/site[^/]*\.pyc?$')
|
||||
patterns.append(r'setuptools\.pth')
|
||||
patterns.append(r'bin/easy_install[^/]*$')
|
||||
patterns.append(r'setuptools.*egg$')
|
||||
|
Loading…
Reference in New Issue
Block a user