File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change 5
5
import sys
6
6
7
7
from setuptools import setup
8
- from setuptools .command .test import test as TestCommand
9
8
10
9
about = {}
11
10
with open ("libvcs/__about__.py" ) as fp :
21
20
history = open ('CHANGES' ).read ().replace ('.. :changelog:' , '' )
22
21
23
22
24
- class PyTest (TestCommand ):
25
- user_options = [('pytest-args=' , 'a' , "Arguments to pass to py.test" )]
26
-
27
- def initialize_options (self ):
28
- TestCommand .initialize_options (self )
29
- self .pytest_args = []
30
-
31
- def run_tests (self ):
32
- import pytest
33
-
34
- errno = pytest .main (self .pytest_args )
35
- sys .exit (errno )
36
-
37
-
38
23
setup (
39
24
name = about ['__title__' ],
40
25
version = about ['__version__' ],
@@ -53,7 +38,6 @@ def run_tests(self):
53
38
include_package_data = True ,
54
39
install_requires = install_reqs ,
55
40
tests_require = tests_reqs ,
56
- cmdclass = {'test' : PyTest },
57
41
zip_safe = False ,
58
42
keywords = about ['__title__' ],
59
43
packages = ['libvcs' ],
You can’t perform that action at this time.
0 commit comments