fixed site pyc regular expression

This commit is contained in:
Gregory L. Lee 2015-12-22 09:15:47 -08:00
parent 3db1c1761e
commit 41fd380d1b

View File

@ -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$')