diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-basemap/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-basemap/package.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/var/spack/repos/builtin/packages/py-basemap/package.py b/var/spack/repos/builtin/packages/py-basemap/package.py index 84df9e3221..92996ea8a8 100644 --- a/var/spack/repos/builtin/packages/py-basemap/package.py +++ b/var/spack/repos/builtin/packages/py-basemap/package.py @@ -3,8 +3,6 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -import os - from spack import * @@ -43,18 +41,3 @@ class PyBasemap(PythonPackage): def setup_build_environment(self, env): env.set('GEOS_DIR', self.spec['geos'].prefix) - - def install(self, spec, prefix): - """Install everything from build directory.""" - args = self.install_args(spec, prefix) - - self.setup_py('install', *args) - - # namespace packages should not create an __init__.py file. This has - # been reported to the basemap project in - # https://github.com/matplotlib/basemap/issues/456 - for root, dirs, files in os.walk(spec.prefix.lib): - for filename in files: - if (filename == '__init__.py' and - os.path.basename(root) == 'mpl_toolkits'): - os.remove(os.path.join(root, filename)) |