Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add a code block in 'installing' docs. #8161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 27, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add a block in 'installing' docs.
  • Loading branch information
aashil committed Feb 27, 2017
commit 2c6ed077759318773dec2bc8b41d85913eb449aa
12 changes: 7 additions & 5 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ install matplotlib using pip_::
python -m pip install matplotlib

In case Python 2.7 or 3.4 are not installed for all users,
the Microsoft Visual C++ 2008 (
`64 bit <https://www.microsoft.com/en-us/download/details.aspx?id=15336>`__
the Microsoft Visual C++ 2008
(`64 bit <https://www.microsoft.com/en-us/download/details.aspx?id=15336>`__
or
`32 bit <https://www.microsoft.com/en-us/download/details.aspx?id=29>`__
for Python 2.7) or Microsoft Visual C++ 2010 (
`64 bit <https://www.microsoft.com/en-us/download/details.aspx?id=14632>`__
for Python 2.7) or Microsoft Visual C++ 2010
(`64 bit <https://www.microsoft.com/en-us/download/details.aspx?id=14632>`__
or
`32 bit <https://www.microsoft.com/en-us/download/details.aspx?id=5555>`__
for Python 3.4) redistributable packages need to be installed.
Expand Down Expand Up @@ -134,13 +134,15 @@ latest git version :ref:`install-from-git`.
The standard environment variables `CC`, `CXX`, `PKG_CONFIG` are respected.
This means you can set them if your toolchain is prefixed. This may be used for
cross compiling.
::

export CC=x86_64-pc-linux-gnu-gcc
export CXX=x86_64-pc-linux-gnu-g++
export PKG_CONFIG=x86_64-pc-linux-gnu-pkg-config

Once you have satisfied the requirements detailed below (mainly
python, numpy, libpng and freetype), you can build matplotlib::
python, numpy, libpng and freetype), you can build matplotlib.
::

cd matplotlib
python setup.py build
Expand Down