Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/mingw32/Python27/Lib/site-packages/numpy/distutils/command/install_data.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 from __future__ import division, absolute_import, print_function | |
2 | |
3 import sys | |
4 have_setuptools = ('setuptools' in sys.modules) | |
5 | |
6 from distutils.command.install_data import install_data as old_install_data | |
7 | |
8 #data installer with improved intelligence over distutils | |
9 #data files are copied into the project directory instead | |
10 #of willy-nilly | |
11 class install_data (old_install_data): | |
12 | |
13 def run(self): | |
14 old_install_data.run(self) | |
15 | |
16 if have_setuptools: | |
17 # Run install_clib again, since setuptools does not run sub-commands | |
18 # of install automatically | |
19 self.run_command('install_clib') | |
20 | |
21 def finalize_options (self): | |
22 self.set_undefined_options('install', | |
23 ('install_lib', 'install_dir'), | |
24 ('root', 'root'), | |
25 ('force', 'force'), | |
26 ) |