| 4 | # This class is used because we add new files (sconscripts, and so on) with the |
| 5 | # scons command |
| 6 | class NumpyDistribution(Distribution): |
| 7 | def __init__(self, attrs = None): |
| 8 | # A list of (sconscripts, pre_hook, post_hook, src, parent_names) |
| 9 | self.scons_data = [] |
| 10 | # A list of installable libraries |
| 11 | self.installed_libraries = [] |
| 12 | # A dict of pkg_config files to generate/install |
| 13 | self.installed_pkg_config = {} |
| 14 | Distribution.__init__(self, attrs) |
| 15 | |
| 16 | def has_scons_scripts(self): |
| 17 | return bool(self.scons_data) |