File tree 1 file changed +0
-16
lines changed
1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change 1
1
import sys
2
2
3
3
from setuptools import setup
4
- from setuptools .command .test import test as TestCommand
5
4
6
5
about = {}
7
6
with open ("django_slugify_processor/__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__' ],
@@ -49,7 +34,6 @@ def run_tests(self):
49
34
include_package_data = True ,
50
35
install_requires = install_reqs ,
51
36
tests_require = tests_reqs ,
52
- cmdclass = {'test' : PyTest },
53
37
zip_safe = False ,
54
38
keywords = about ['__title__' ],
55
39
classifiers = [
You can’t perform that action at this time.
0 commit comments