diff options
author | Gregory L. Lee <lee218@cab687.llnl.gov> | 2015-12-22 08:03:17 -0800 |
---|---|---|
committer | Gregory L. Lee <lee218@cab687.llnl.gov> | 2015-12-22 08:03:17 -0800 |
commit | 3db1c1761ee634f4c2a7d254a4aeca1d04f20967 (patch) | |
tree | 97fbcfcce5aac809c59c522cdf112e323a9fb6da | |
parent | d85a46380cd0b2b113c8e3de111298abff2dd24f (diff) | |
download | spack-3db1c1761ee634f4c2a7d254a4aeca1d04f20967.tar.gz spack-3db1c1761ee634f4c2a7d254a4aeca1d04f20967.tar.bz2 spack-3db1c1761ee634f4c2a7d254a4aeca1d04f20967.tar.xz spack-3db1c1761ee634f4c2a7d254a4aeca1d04f20967.zip |
only ignore cached site.py file
-rw-r--r-- | var/spack/packages/python/package.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/var/spack/packages/python/package.py b/var/spack/packages/python/package.py index 2213244d6d..920629e910 100644 --- a/var/spack/packages/python/package.py +++ b/var/spack/packages/python/package.py @@ -117,11 +117,10 @@ class Python(Package): # 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$') - patterns.append(r'__pycache__/.*.pyc$') return match_predicate(ignore_arg, patterns) |