-
Notifications
You must be signed in to change notification settings - Fork 17
/
setup.py
47 lines (41 loc) · 1.48 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
44
45
46
47
#!/usr/bin/env python3
"""Scan to paperlass package."""
import os
import site
import sys
from setuptools import find_packages, setup
site.ENABLE_USER_SITE = "--user" in sys.argv
HERE = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(HERE, "README.md"), encoding="utf-8") as f:
README = f.read()
setup(
name="scan-to-paperless",
version="1.13.0",
description="Tool to scan and process documents to palerless",
long_description=README,
long_description_content_type="text/markdown",
keywords=["scan", "paperless"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Typing :: Typed",
],
author="Stéphane Brunner",
author_email="stephane.brunner@gmail.com",
url="https://hub.docker.com/r/sbrunner/scan-to-paperless/",
packages=find_packages(exclude=["tests.*"]),
install_requires=["argcomplete", "ruamel.yaml", "scikit-image"],
entry_points={
"console_scripts": [
"scan = scan_to_paperless.scan:main",
"scan-process-status = scan_to_paperless.scan_process_status:main",
"scan-process = scan_to_paperless.process:main",
],
},
data={"scan_to_paperless": ["*.json", "py.typed"]},
)