MCPcopy Create free account
hub / github.com/numpy/numpy / NumpyDistribution

Class NumpyDistribution

numpy/distutils/numpy_distribution.py:6–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4# This class is used because we add new files (sconscripts, and so on) with the
5# scons command
6class 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)

Callers 1

get_distributionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected