5
0
mirror of https://github.com/sml2h3/ddddocr.git synced 2025-05-03 03:50:21 +08:00
ddddocr/setup.py

40 lines
1.3 KiB
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2021/7/2 15:41
# @Author : sml2h3
# @Site :
# @File : setup.py
# @Software: PyCharm
# @Description:
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="ddddocr",
version="1.5.5",
author="sml2h3",
description="带带弟弟OCR",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/sml2h3/ddddocr",
packages=find_packages(where='.', exclude=(), include=('*',)),
classifiers=[
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=['numpy', 'onnxruntime', 'Pillow', 'opencv-python-headless'],
python_requires='<3.13',
include_package_data=True,
install_package_data=True,
)