From 26188dcc2f6b28f53f87151f58c7e60a404879dd Mon Sep 17 00:00:00 2001 From: cookedm Date: Tue, 31 Jan 2006 23:20:47 +0000 Subject: When using setuptools, run the build_src command before egg_info (which is run by the bdist_egg command). This means that python -c 'import setuptools; execfile("setup.py")' bdist_egg works fine, without having to add build_src in there. --- numpy/distutils/command/egg_info.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 numpy/distutils/command/egg_info.py (limited to 'numpy/distutils/command') diff --git a/numpy/distutils/command/egg_info.py b/numpy/distutils/command/egg_info.py new file mode 100644 index 000000000..d2f07e28f --- /dev/null +++ b/numpy/distutils/command/egg_info.py @@ -0,0 +1,6 @@ +from setuptools.command.egg_info import egg_info as _egg_info + +class egg_info(_egg_info): + def run(self): + self.run_command("build_src") + _egg_info.run(self) -- cgit v1.2.1