-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
43 lines (38 loc) · 1.23 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
def install_requires():
try:
import cv2
return None
except ModuleNotFoundError:
return [
'numpy',
'opencv-python>=4.5.5.64',
'pydantic'
]
setup(
name='baseImage',
version='2.1.6',
author='hakaboom',
author_email='[email protected]',
license='Apache License 2.0',
description='This is a secondary package of OpenCV,for manage image data',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/hakaboom/base_image',
include_package_data=True,
packages=find_packages(),
install_requires=install_requires(),
classifiers=[
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
python_requires='>=3.6, <3.11',
)