|
|
@@ -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) |
|
|
@@ -85,7 +85,7 @@ def run(self): |
|
|
|
|
|
setup( |
|
|
name='pytest-cov', |
|
|
version='2.10.1', |
|
|
version='2.11.1', |
|
|
license='MIT', |
|
|
description='Pytest plugin for measuring coverage.', |
|
|
long_description='%s\n%s' % (read('README.rst'), re.sub(':[a-z]+:`~?(.*?)`', r'``\1``', read('CHANGELOG.rst'))), |
|
|
@@ -124,7 +124,7 @@ def run(self): |
|
|
], |
|
|
install_requires=[ |
|
|
'pytest>=4.6', |
|
|
'coverage>=4.4' |
|
|
'coverage>=5.2.1' |
|
|
], |
|
|
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*', |
|
|
extras_require={ |
|
|
@@ -141,8 +141,6 @@ def run(self): |
|
|
'pytest11': [ |
|
|
'pytest_cov = pytest_cov.plugin', |
|
|
], |
|
|
'console_scripts': [ |
|
|
] |
|
|
}, |
|
|
cmdclass={ |
|
|
'build': BuildWithPTH, |
|
|
|