okfn / messytables

Tools for parsing messy tabular data. This is now superseded by https://github.com/frictionlessdata/tabulator-py
http://messytables.readthedocs.io/
387 stars 110 forks source link

Document dependency to file #26

Closed gka closed 11 years ago

gka commented 11 years ago

I installed messytables but it won't run because of a missing system package: file. That's the lib that provides the filetype detection, I guess.

I had to install it via brew install file-formula or sudo port install file.

Would be nice to document this dependency somewhere, so other users save the time to look up the error. Alternatively, messytables should only provide filetype detection feature if the package is installed, and print a friendly message if the user tries to use it anyway. My guess is that big chunks of messytables would run w/o auto-detection.

frabcus commented 11 years ago

Not sure where this should be documented. The dependency on "magic" is documented... Isn't that enough? If it isn't, isn't that a bug in python-magic?

domoritz commented 11 years ago

It was preinstalled on my mac and linux machines. Closed this issue but feel free to reopen it if you have feel that it should still be added.