6
6
from setuptools import setup , find_packages
7
7
from setuptools .command .test import test as TestCommand
8
8
9
+
9
10
class PyTest (TestCommand ):
10
11
user_options = [('pytest-args=' , 'a' , "Arguments to pass to py.test" )]
11
12
@@ -22,35 +23,36 @@ def run_tests(self):
22
23
errno = pytest .main (self .pytest_args )
23
24
sys .exit (errno )
24
25
25
- setup (name = 'diffoscope' ,
26
- version = diffoscope .VERSION ,
27
- description = 'in-depth comparison of files, archives, and directories' ,
28
- long_description = open ('README.rst' , encoding = 'utf-8' ).read (),
29
- author = 'Lunar' ,
30
-
31
- license = 'GPL-3+' ,
32
- url = 'https://diffoscope.org/' ,
33
- packages = find_packages (),
34
- tests_require = ['pytest' ],
35
- cmdclass = {'test' : PyTest },
36
- entry_points = {
37
- 'console_scripts' : [
38
- 'diffoscope=diffoscope.main:main'
39
- ],
40
- },
41
- install_requires = [
42
- 'python-magic' ,
43
- 'libarchive-c' ,
44
- ],
45
- classifiers = [
46
- 'Development Status :: 3 - Alpha' ,
47
- 'Intended Audience :: Developers' ,
48
- 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)' ,
49
- 'Operating System :: POSIX' ,
50
- 'Programming Language :: Python' ,
51
- 'Programming Language :: Python :: 3' ,
52
- 'Programming Language :: Python :: 3.4' ,
53
- 'Programming Language :: Python :: 3.5' ,
54
- 'Topic :: Utilities' ,
55
- ],
56
- )
26
+ setup (
27
+ name = 'diffoscope' ,
28
+ version = diffoscope .VERSION ,
29
+ description = 'in-depth comparison of files, archives, and directories' ,
30
+ long_description = open ('README.rst' , encoding = 'utf-8' ).read (),
31
+ author = 'Lunar' ,
32
+
33
+ license = 'GPL-3+' ,
34
+ url = 'https://diffoscope.org/' ,
35
+ packages = find_packages (),
36
+ tests_require = ['pytest' ],
37
+ cmdclass = {'test' : PyTest },
38
+ entry_points = {
39
+ 'console_scripts' : [
40
+ 'diffoscope=diffoscope.main:main'
41
+ ],
42
+ },
43
+ install_requires = [
44
+ 'python-magic' ,
45
+ 'libarchive-c' ,
46
+ ],
47
+ classifiers = [
48
+ 'Development Status :: 3 - Alpha' ,
49
+ 'Intended Audience :: Developers' ,
50
+ 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)' ,
51
+ 'Operating System :: POSIX' ,
52
+ 'Programming Language :: Python' ,
53
+ 'Programming Language :: Python :: 3' ,
54
+ 'Programming Language :: Python :: 3.4' ,
55
+ 'Programming Language :: Python :: 3.5' ,
56
+ 'Topic :: Utilities' ,
57
+ ],
58
+ )
0 commit comments