-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathsetup.py
More file actions
54 lines (46 loc) · 1.66 KB
/
setup.py
File metadata and controls
54 lines (46 loc) · 1.66 KB
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
44
45
46
47
48
49
50
51
52
53
54
#!/usr/bin/env python
"""The setup script."""
from pathlib import Path
from setuptools import setup, find_packages
here = Path(__file__).parent
readme = (here / "README.md").read_text(encoding="utf-8") if (here / "README.md").exists() else ""
history = (here / "HISTORY.md").read_text(encoding="utf-8") if (here / "HISTORY.md").exists() else ""
requirements = ["Click>=7.0", "pyobjc-framework-Vision", "pillow"]
test_requirements = [
"pytest>=3",
]
setup(
author="Maximilian Strauss",
author_email="straussmaximilian@gmail.com",
python_requires=">=3.9",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
description="A python wrapper to extract text from images on a mac system. Uses the vision framework from Apple.",
entry_points={
"console_scripts": [
"ocrmac=ocrmac.cli:main",
],
},
install_requires=requirements,
license="MIT license",
long_description=readme + "\n\n" + history,
long_description_content_type="text/markdown",
include_package_data=True,
keywords="ocrmac",
name="ocrmac",
packages=find_packages(include=["ocrmac", "ocrmac.*"]),
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/straussmaximilian/ocrmac",
version="1.0.1",
zip_safe=False,
)