mirror of
https://github.com/sml2h3/ddddocr.git
synced 2025-05-03 04:02:01 +08:00
39 lines
1.2 KiB
Python
39 lines
1.2 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.4.11",
|
|
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",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: OS Independent",
|
|
],
|
|
install_requires=['numpy', 'onnxruntime', 'Pillow', 'opencv-python-headless'],
|
|
python_requires='<3.12',
|
|
include_package_data=True,
|
|
install_package_data=True,
|
|
)
|