From 66476d7ea003d18433df24aa0776ee18c91b98d3 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Thu, 11 Dec 2008 05:40:06 +0000 Subject: [PATCH] Fix installing scripts --- setup.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c29f3c5e6..6bde009cd 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ from setuptools import setup, find_packages, Extension from distutils import cmd, sysconfig from distutils.command.build import build as _build from distutils.command.clean import clean as _clean -from distutils.command.install import install +from setuptools.command.install import install as _install import msgfmt import os @@ -304,6 +304,13 @@ class clean(_clean): self.run_command(cmd_name) _clean.run(self) +class install(_install): + sub_commands = _install.sub_commands + def run(self): + for cmd_name in self.get_sub_commands(): + self.run_command(cmd_name) + _install.run(self) + cmdclass = { 'build': build, 'build_trans': build_trans,