(self, arch=None)
| 907 | return super().prebuild_arch(arch) |
| 908 | |
| 909 | def clean_build(self, arch=None): |
| 910 | super().clean_build(arch=arch) |
| 911 | name = self.folder_name |
| 912 | python_install_dirs = glob.glob(join(self.ctx.python_installs_dir, '*')) |
| 913 | for python_install in python_install_dirs: |
| 914 | site_packages_dir = glob.glob(join(python_install, 'lib', 'python*', |
| 915 | 'site-packages')) |
| 916 | if site_packages_dir: |
| 917 | build_dir = join(site_packages_dir[0], name) |
| 918 | if exists(build_dir): |
| 919 | info('Deleted {}'.format(build_dir)) |
| 920 | rmdir(build_dir) |
| 921 | |
| 922 | @property |
| 923 | def real_hostpython_location(self): |
nothing calls this directly
no test coverage detected