forked from okfn/messytables
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
53 lines (47 loc) · 1.56 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
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: http://messytables.readthedocs.org
"""
setup(
name='messytables',
version='0.5.0',
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='http://okfn.org',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
namespace_packages=[],
include_package_data=False,
zip_safe=False,
install_requires=[
'xlrd>=0.7.1',
# this is only used if you want messytables to do type guessing
# 'python-magic==0.4.3',
'openpyxl==1.5.7',
'chardet==2.1.1',
'python-dateutil>=1.5.0,<2.0.0'
],
tests_require=[],
entry_points=\
"""
""",
)