aboSamoor / polyglot

Multilingual text (NLP) processing toolkit
http://polyglot-nlp.com
Other
2.31k stars 337 forks source link

Fix requirements installation in Python 3 #67

Closed adamhadani closed 8 years ago

adamhadani commented 8 years ago

When using the package in Python 3.x, I noticed dependencies don't get correctly installed. I ended up pinpointing the issue to the usage of filter() in setup.py, which in Python 3.x returns a filter object which setuptools doesn't seem to like.. This fixes it by casting explicitly to list.