3
3
import pip
4
4
import os
5
5
import sys
6
+ import pypandoc
7
+
8
+ long_description = ""
9
+
10
+ try :
11
+ long_description = pypandoc .convert ('README.md' , 'rst' )
12
+ except OSError as e :
13
+ print ("Pypandoc import failed, please install pandoc." )
14
+ sys .exit (1 )
6
15
7
16
# cv_version.py should be generated by running find_version.py
8
17
from cv_version import opencv_version
@@ -31,10 +40,33 @@ def is_pure(self):
31
40
32
41
setup (name = 'opencv-python' ,
33
42
version = opencv_version ,
34
- description = 'OpenCV' ,
43
+ url = 'https://github.com/skvark/opencv-python' ,
44
+ license = 'MIT' ,
45
+ description = 'Wrapper package for OpenCV python bindings.' ,
46
+ long_description = long_description ,
35
47
distclass = BinaryDistribution ,
36
48
packages = ['cv2' ],
37
49
package_data = package_data ,
50
+ maintainer = "Olli-Pekka Heinisuo" ,
38
51
include_package_data = True ,
39
52
install_requires = "numpy==%s" % numpy_version ,
53
+ classifiers = [
54
+ 'Development Status :: 5 - Production/Stable' ,
55
+ 'Environment :: Console' ,
56
+ 'Intended Audience :: Developers' ,
57
+ 'Intended Audience :: Education' ,
58
+ 'Intended Audience :: Information Technology' ,
59
+ 'Intended Audience :: Science/Research' ,
60
+ 'License :: OSI Approved :: MIT License' ,
61
+ 'Operating System :: MacOS' ,
62
+ 'Operating System :: Microsoft :: Windows' ,
63
+ 'Operating System :: POSIX' ,
64
+ 'Operating System :: Unix' ,
65
+ 'Programming Language :: Python' ,
66
+ 'Programming Language :: C++' ,
67
+ 'Programming Language :: Python :: Implementation :: CPython' ,
68
+ 'Topic :: Scientific/Engineering' ,
69
+ 'Topic :: Scientific/Engineering :: Image Recognition' ,
70
+ 'Topic :: Software Development' ,
71
+ ]
40
72
)
0 commit comments