From d5699f7d2347032b86bb44ba383ebcccae31bdfc Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Thu, 16 May 2013 21:33:00 -0400 Subject: [PATCH] Add note about vcvarsall.bat error (#26, closes #32) --- README.rst | 22 ++++++++++++++-------- docs/index.rst | 10 ++++++++-- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/README.rst b/README.rst index 77262ca..9847c33 100644 --- a/README.rst +++ b/README.rst @@ -18,6 +18,11 @@ so you can install the latest release with ``pip install mwparserfromhell`` cd mwparserfromhell python setup.py install +If you get ``error: Unable to find vcvarsall.bat`` while installing, this is +because Windows can't find the compiler for C extensions. Consult this +`StackOverflow question`_ for help. You can also set ``ext_modules`` in +``setup.py`` to an empty list to prevent the extension from building. + You can run the comprehensive unit testing suite with ``python setup.py test -q``. @@ -132,11 +137,12 @@ following code (via the API_):: text = res["query"]["pages"].values()[0]["revisions"][0]["*"] return mwparserfromhell.parse(text) -.. _MediaWiki: http://mediawiki.org -.. _Earwig: http://en.wikipedia.org/wiki/User:The_Earwig -.. _Σ: http://en.wikipedia.org/wiki/User:%CE%A3 -.. _Python Package Index: http://pypi.python.org -.. _get pip: http://pypi.python.org/pypi/pip -.. _EarwigBot: https://github.com/earwig/earwigbot -.. _Pywikipedia: https://www.mediawiki.org/wiki/Manual:Pywikipediabot -.. _API: http://mediawiki.org/wiki/API +.. _MediaWiki: http://mediawiki.org +.. _Earwig: http://en.wikipedia.org/wiki/User:The_Earwig +.. _Σ: http://en.wikipedia.org/wiki/User:%CE%A3 +.. _Python Package Index: http://pypi.python.org +.. _StackOverflow question: http://stackoverflow.com/questions/2817869/error-unable-to-find-vcvarsall-bat +.. _get pip: http://pypi.python.org/pypi/pip +.. _EarwigBot: https://github.com/earwig/earwigbot +.. _Pywikipedia: https://www.mediawiki.org/wiki/Manual:Pywikipediabot +.. _API: http://mediawiki.org/wiki/API diff --git a/docs/index.rst b/docs/index.rst index 24f42f2..4b4c392 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -22,10 +22,16 @@ so you can install the latest release with ``pip install mwparserfromhell`` cd mwparserfromhell python setup.py install +If you get ``error: Unable to find vcvarsall.bat`` while installing, this is +because Windows can't find the compiler for C extensions. Consult this +`StackOverflow question`_ for help. You can also set ``ext_modules`` in +``setup.py`` to an empty list to prevent the extension from building. + You can run the comprehensive unit testing suite with ``python setup.py test``. -.. _Python Package Index: http://pypi.python.org -.. _get pip: http://pypi.python.org/pypi/pip +.. _Python Package Index: http://pypi.python.org +.. _get pip: http://pypi.python.org/pypi/pip +.. _StackOverflow question: http://stackoverflow.com/questions/2817869/error-unable-to-find-vcvarsall-bat Contents --------