This repository has been archived by the owner on Jun 14, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
executable file
·83 lines (76 loc) · 2.67 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#!/usr/bin/env python3
import os
from setuptools import setup, find_packages
if os.name == "nt":
extra_deps = []
else:
extra_deps = [
"pyenchant",
"python-Levenshtein",
]
setup(
name="paperwork-backend",
# if you change the version, don't forget to
# * update the ChangeLog file
# * update the download_url in this file
version="1.2.3",
description=(
"Paperwork's backend"
),
long_description="""Paperwork is a GUI to make papers searchable.
This is the backend part of Paperwork. It manages:
- The work directory / Access to the documents
- Indexing
- Searching
- Suggestions
- Import
- Export
There is no GUI here. The GUI is https://github.com/openpaperwork/paperwork .
""",
keywords="documents",
url="https://github.com/openpaperwork/paperwork-backend",
download_url=("https://github.com/openpaperwork/paperwork-backend"
"/archive/1.2.3.tar.gz"),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: End Users/Desktop",
("License :: OSI Approved ::"
" GNU General Public License v3 or later (GPLv3+)"),
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Topic :: Multimedia :: Graphics :: Capture :: Scanners",
"Topic :: Multimedia :: Graphics :: Graphics Conversion",
"Topic :: Scientific/Engineering :: Image Recognition",
"Topic :: Text Processing :: Filters",
"Topic :: Text Processing :: Indexing",
],
license="GPLv3+",
author="Jerome Flesch",
author_email="[email protected]",
packages=find_packages(),
entry_points={
'console_scripts': [
'paperwork-shell = paperwork_backend.shell_cmd:main',
],
},
zip_safe=True,
install_requires=[
"natsort",
"Pillow",
"pycountry",
"pyocr",
"termcolor", # used by paperwork-chkdeps
"Whoosh",
"simplebayes",
# paperwork-shell chkdeps take care of all the dependencies that can't
# be handled here. Mainly, dependencies using gobject introspection
# (libpoppler, etc)
] + extra_deps
)
print("============================================================")
print("============================================================")
print("|| IMPORTANT ||")
print("|| Please run 'paperwork-shell chkdeps paperwork_backend' ||")
print("|| to find any missing dependency ||")
print("============================================================")
print("============================================================")