learntextvis / textkit

Command line tool for manipulating and analyzing text
MIT License
28 stars 6 forks source link

Include data files in a portable way. #28

Closed vlandham closed 8 years ago

vlandham commented 8 years ago

According to this documentation the data files weren't actually getting added to the egg package - and so would not be around for users.

This PR attempts to fix this and access the included data file's contents in a portable way (cause I guess you can't guarantee the location of the data files and have to rely on pkg_resources.

vlandham commented 8 years ago

ping @iros

iros commented 8 years ago

Hmm, this will conflict with my change, but I will merge and then update in my POS branch.