Skip to content

Commit

Permalink
added LICENSE / README.md / setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hnesk committed Jul 20, 2020
1 parent 2e0e7cc commit 018995a
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 0 deletions.
19 changes: 19 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright © 2020 Johannes Künsebeck

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# OCRD Browser

An extensible viewer for [OCRD](https://ocr-d.de/) mets.xml files

## Installation

```
pip install browse-ocrd
```
46 changes: 46 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# -*- coding: utf-8 -*-
import codecs
import subprocess
from setuptools import setup

install_requires = open('requirements.txt').read().split('\n')


print("Generating gresources bundle")
subprocess.call(
[
"glib-compile-resources",
"--sourcedir=resources",
"resources/ocrd-browser.gresource.xml",
]
)

setup(
name='browse-ocrd',
version='0.1',
author='Johannes Künsebeck',
author_email='[email protected]',
description='An extensible viewer for OCRD mets.xml files',
license='MIT License',
long_description=codecs.open('README.md', encoding='utf-8').read(),
long_description_content_type='text/markdown',
url="https://github.com/hnesk/ocrd-browser",
packages=['voussoir'],
install_requires=install_requires,
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Development Status :: 4 - Beta',
'Environment :: X11 Applications :: GTK',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Image Recognition'
],
keywords=['OCR', 'OCRD', 'mets', 'PAGE Xml'],
entry_points={
'console_scripts': [
'browse-ocrd = ocrd_browser.main:main',
]
},
)
Empty file removed src/__init__.py
Empty file.

0 comments on commit 018995a

Please sign in to comment.