comparison DEPENDENCIES/mingw32/Python27/Lib/site-packages/numpy/distutils/numpy_distribution.py @ 87:2a2c65a20a8b

Add Python libs and headers
author Chris Cannam
date Wed, 25 Feb 2015 14:05:22 +0000
parents
children
comparison
equal deleted inserted replaced
86:413a9d26189e 87:2a2c65a20a8b
1 # XXX: Handle setuptools ?
2 from __future__ import division, absolute_import, print_function
3
4 from distutils.core import Distribution
5
6 # This class is used because we add new files (sconscripts, and so on) with the
7 # scons command
8 class NumpyDistribution(Distribution):
9 def __init__(self, attrs = None):
10 # A list of (sconscripts, pre_hook, post_hook, src, parent_names)
11 self.scons_data = []
12 # A list of installable libraries
13 self.installed_libraries = []
14 # A dict of pkg_config files to generate/install
15 self.installed_pkg_config = {}
16 Distribution.__init__(self, attrs)
17
18 def has_scons_scripts(self):
19 return bool(self.scons_data)