Skip to content

Commit 63956cb

Browse files
kbazuphilip
authored andcommitted
Setup for release on PyPI #44
1 parent 76fe767 commit 63956cb

File tree

2 files changed

+28
-3
lines changed

2 files changed

+28
-3
lines changed

setup.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[metadata]
2+
description-file = README.md

setup.py

+26-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,34 @@
11
#!/usr/bin/env python
22

3+
VERSION = '1.0.0'
4+
35
import glob
46
from setuptools import setup
57
setup(
6-
name = "hocr_tools",
7-
version = "0.1",
8-
author = 'Thomas Breuel',
8+
name = "hocr-tools",
9+
version = VERSION,
910
description = 'Advanced tools for hOCR integration',
11+
author = 'Thomas Breuel',
12+
maintainer = 'Konstantin Baierer',
13+
maintainer_email = '[email protected]',
14+
url = 'https://github.com/tmbdev/hocr-tools',
15+
download_url = 'https://github.com/tmbdev/hocr-tools/tarball/v' + VERSION,
16+
classifiers = [
17+
'Development Status :: 5 - Production/Stable',
18+
'Environment :: Console',
19+
'Intended Audience :: End Users/Desktop',
20+
'License :: OSI Approved :: Apache Software License',
21+
'Operating System :: OS Independent',
22+
'Programming Language :: Python :: 2.7',
23+
'Topic :: Multimedia :: Graphics :: Graphics Conversion',
24+
'Topic :: Scientific/Engineering :: Image Recognition',
25+
'Topic :: Utilities',
26+
],
27+
install_requires = [
28+
'Pillow',
29+
'lxml',
30+
'reportlab',
31+
'matplotlib',
32+
],
1033
scripts = [c for c in glob.glob("hocr-*")]
1134
)

0 commit comments

Comments
 (0)