Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Aram Verstegen
archive-hocr-tools
Commits
57e7d5e2
Commit
57e7d5e2
authored
Oct 04, 2021
by
Merlijn Wajer
Browse files
setup: initial attempt at pypi packaging
parent
27230602
Changes
4
Hide whitespace changes
Inline
Side-by-side
LICENSE.txt
0 → 120000
View file @
57e7d5e2
COPYING
\ No newline at end of file
hocr/version.py
View file @
57e7d5e2
__version__
=
'1.1.
7
'
__version__
=
'1.1.
8
'
setup.cfg
0 → 100644
View file @
57e7d5e2
[metadata]
description-file = README.rst
setup.py
View file @
57e7d5e2
...
...
@@ -6,17 +6,30 @@ ver_path = convert_path('hocr/version.py')
with
open
(
ver_path
)
as
ver_file
:
exec
(
ver_file
.
read
(),
main_ns
)
setup
(
name
=
'hocr'
,
version
=
main_ns
[
'__version__'
],
version
=
main_ns
[
'__version__'
]
setup
(
name
=
'archive-hocr-tools'
,
version
=
version
,
packages
=
[
'hocr'
],
description
=
'hOCR (streaming) parsers and writers'
,
author
=
'Merlijn Boris Wolf Wajer'
,
author_email
=
'merlijn@archive.org'
,
packages
=
[
'hocr'
],
url
=
'https://github.com/internetarchive/archive-hocr-tools'
,
download_url
=
'https://github.com/internetarchive/archive-hocr-tools/archive/%s.tar.gz'
%
version
,
keywords
=
[
'hOCR'
,
'Internet Archive'
],
license
=
'AGPL-3.0'
,
scripts
=
[
'bin/hocr-combine-stream'
,
'bin/hocr-fold-chars'
,
'bin/hocr-text'
,
'bin/fts-text-annotate'
,
'bin/fts-text-match'
,
'bin/hocr-lookup-check'
,
'bin/hocr-lookup-create'
,
'bin/hocr-lookup-reconstruct'
,
'bin/hocr-text-paragraphs'
,
'bin/hocr-extract-page'
,
'bin/abbyy-to-hocr'
],
classifiers
=
[
'Development Status :: 3 - Alpha'
,
'Intended Audience :: Developers'
,
'License :: OSI Approved :: GNU Affero General Public License v3'
,
'Programming Language :: Python :: 3'
,
],
python_requires
=
'>=3.6'
,
include_package_data
=
True
,
install_requires
=
[
'lxml-4.6.3'
],
package_data
=
{
'hocr'
:
[
'data/*'
]})
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment