diff --git a/setup.py b/setup.py index 74139eea..f12cbc04 100755 --- a/setup.py +++ b/setup.py @@ -30,24 +30,24 @@ def read(*names, **kwargs): class BuildWithPTH(build): - def run(self): - build.run(self) + def run(self, *args, **kwargs): + build.run(self, *args, **kwargs) path = join(dirname(__file__), 'src', 'pytest-cov.pth') dest = join(self.build_lib, basename(path)) self.copy_file(path, dest) class EasyInstallWithPTH(easy_install): - def run(self): - easy_install.run(self) + def run(self, *args, **kwargs): + easy_install.run(self, *args, **kwargs) path = join(dirname(__file__), 'src', 'pytest-cov.pth') dest = join(self.install_dir, basename(path)) self.copy_file(path, dest) class InstallLibWithPTH(install_lib): - def run(self): - install_lib.run(self) + def run(self, *args, **kwargs): + install_lib.run(self, *args, **kwargs) path = join(dirname(__file__), 'src', 'pytest-cov.pth') dest = join(self.install_dir, basename(path)) self.copy_file(path, dest) @@ -58,8 +58,8 @@ def get_outputs(self): class DevelopWithPTH(develop): - def run(self): - develop.run(self) + def run(self, *args, **kwargs): + develop.run(self, *args, **kwargs) path = join(dirname(__file__), 'src', 'pytest-cov.pth') dest = join(self.install_dir, basename(path)) self.copy_file(path, dest)