diff options
author | Andrew Resch <andrewresch@gmail.com> | 2008-12-11 05:40:06 +0000 |
---|---|---|
committer | Andrew Resch <andrewresch@gmail.com> | 2008-12-11 05:40:06 +0000 |
commit | e58006b5d4176602bc46aaa64aae5397e508426b (patch) | |
tree | 9668d18ce19d3400c113d28e2797f8b56144d20e | |
parent | 3f2ef1b457b174b2e81970b1f78b5e5f492cae72 (diff) | |
download | deluge-e58006b5d4176602bc46aaa64aae5397e508426b.tar.gz deluge-e58006b5d4176602bc46aaa64aae5397e508426b.tar.bz2 deluge-e58006b5d4176602bc46aaa64aae5397e508426b.zip |
Fix installing scripts
-rw-r--r-- | setup.py | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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, |