myint / language-check

Python wrapper for LanguageTool grammar checker
https://pypi.python.org/pypi/language-check
GNU Lesser General Public License v3.0
326 stars 102 forks source link

Added alternative download url for LanguageTool zip file #62

Closed JohnDLe closed 5 years ago

JohnDLe commented 5 years ago

Install fails when behind a corporate firewall that does not allow for Internet access. PYPI is proxied so the package can be downloaded but the install step that goes out to https://www.languagetool.org/download/ will fail.

Following the pattern of other packages that does install downloads such as PUPPETEER and NODE-SASS, I modified code to use an ENVIRONMENT VARIABLE to set an alternative download host URL.

myint commented 5 years ago

Thanks! Can you fix the formatting issue reported by Jenkins? It looks like just one long line needs to be formatted:

download_lt.py:26:80: E501 line too long (117 > 79 characters)