-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
51 lines (47 loc) · 1.43 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from pkgutil import get_importer
# Navigate, import, and retrieve the metadata of the project.
meta = get_importer('src/hocr').find_module('meta').load_module('meta')
setup(
name='hocr',
version=meta.version,
description=meta.description,
author='Concordus Applications',
author_email='[email protected]',
url='https://github.com/concordusapps/python-hocr',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.3',
],
package_dir={'hocr': 'src/hocr'},
packages=find_packages('src'),
entry_points={
'console_scripts': ['hocr2pdf = hocr.commands:hocr2pdf']
},
dependency_links=[
'bzr+lp:beautifulsoup#egg=beautifulsoup-4.0',
'git+git://github.com/bsidhom/python3-chardet.git@master#egg=chardet-dev',
],
install_requires=[
'six',
'lxml >= 3.2.3, < 4.0.0',
'chardet == dev',
'beautifulsoup == 4.0',
'hummus >= 0.2.0',
'filemagic',
'pillow'
],
extras_require={
'test': [
'pytest',
'pytest-pep8',
'pytest-cov'
],
},
)