-
Notifications
You must be signed in to change notification settings - Fork 110
/
setup.py
56 lines (50 loc) · 1.69 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
from setuptools import setup, find_packages
long_desc = """
Tabular data as published on the web is often not well formatted
and structured. Messytables tries to detect and fix errors in the
data. Typical examples include:
* Finding the header of a table when there are explanations and
text fragments in the first few rows of the table.
* Guessing the type of columns in CSV data.
This library provides data structures and some heuristics to
fix these problems and read a wide number of different tabular
abominations.
See the full documentation at: https://messytables.readthedocs.io
"""
setup(
name='messytables',
version='0.15.2',
description="Parse messy tabular data in various formats",
long_description=long_desc,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
],
keywords='',
author='Open Knowledge Foundation',
author_email='[email protected]',
url='https://okfn.org',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'test']),
namespace_packages=[],
include_package_data=False,
zip_safe=False,
install_requires=[
'xlrd>=0.8.0',
'python-magic>=0.4.12', # used for type guessing
'chardet>=2.3.0',
'python-dateutil>=1.5.0',
'lxml>=3.2',
'requests',
'six>=1.9', # until messytables->html5lib releases https://github.com/html5lib/html5lib-python/pull/301
'html5lib',
'json-table-schema>=0.2, <=0.2.1'
],
tests_require=[],
entry_points=\
"""
""",
)