mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-19 22:58:30 +00:00
Fix installing scripts
This commit is contained in:
parent
6cd1df0f13
commit
66476d7ea0
9
setup.py
9
setup.py
@ -28,7 +28,7 @@ from setuptools import setup, find_packages, Extension
|
|||||||
from distutils import cmd, sysconfig
|
from distutils import cmd, sysconfig
|
||||||
from distutils.command.build import build as _build
|
from distutils.command.build import build as _build
|
||||||
from distutils.command.clean import clean as _clean
|
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 msgfmt
|
||||||
import os
|
import os
|
||||||
@ -304,6 +304,13 @@ class clean(_clean):
|
|||||||
self.run_command(cmd_name)
|
self.run_command(cmd_name)
|
||||||
_clean.run(self)
|
_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 = {
|
cmdclass = {
|
||||||
'build': build,
|
'build': build,
|
||||||
'build_trans': build_trans,
|
'build_trans': build_trans,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user