Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/mingw32/Python27/Lib/site-packages/numpy/distutils/command/develop.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 """ Override the develop command from setuptools so we can ensure that our | |
2 generated files (from build_src or build_scripts) are properly converted to real | |
3 files with filenames. | |
4 | |
5 """ | |
6 from __future__ import division, absolute_import, print_function | |
7 | |
8 from setuptools.command.develop import develop as old_develop | |
9 | |
10 class develop(old_develop): | |
11 __doc__ = old_develop.__doc__ | |
12 def install_for_development(self): | |
13 # Build sources in-place, too. | |
14 self.reinitialize_command('build_src', inplace=1) | |
15 # Make sure scripts are built. | |
16 self.run_command('build_scripts') | |
17 old_develop.install_for_development(self) |