8000 Document windows build using conda · Issue #8652 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Document windows build using conda #8652

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

Closed
fkohlgrueber opened this issue May 22, 2017 · 2 comments
Closed

Document windows build using conda #8652

fkohlgrueber opened this issue May 22, 2017 · 2 comments

Comments

@fkohlgrueber
Copy link
Contributor

Since I wanted to start contributing to matplotlib, I tried to build matplotlib from source. I read through the documentation and tried to use matplotlib-winbuild as recommended on the website.

The first problem was that matplotlib-winbuild seems to be outdated and does not support VS2015 / VS2017. There's a pull-request that claims to add support for VS2015, but that didn't work out for me.

I then tried several different ways to install the external dependencies, but none worked out until I found build_alllocal.cmd in the matplotlib repository.

Using build_alllocal.cmd (with two small changes), I was able to get a working build of matplotlib. It uses anaconda to get the external dependencies and eliminates the trouble of compiling them. I made a short gist showing how I managed to build matplotlib: gist.

Now my questions are:

Is the way I installed matplotlib correct? Can I use this setup for testing/developing matplotlib? Are there any restrictions or things the won't work?

If it is a valid deveopment build, shouldn't the installation process above be part of the official documentation? It seems to be easier than the process that's currently suggested in the docs and might lower the barrier for new contributors who are working on Windows.

I'm looking forward to your replies.

@tacaswell
Copy link
Member

Matplotlib has a shortage of windows based developers (most of us are linux or mac), any help updating the docs to be more correct for windows would be great!

Another reference for how to set up windows systems for development is the appveyor configuration files and the conda recipe.

As to your questions:

  • if it runs and passes tests it is probably correct
  • I don't see why you could not use it for testing / development or why there would be any limitations on it
  • The docs should be updated, can you put in a PR to do that?

attn @Kojoley

@tacaswell tacaswell added this to the 2.1 (next point release) milestone May 22, 2017
@tacaswell tacaswell changed the title Windows build using conda Document windows build using conda May 22, 2017
@tacaswell tacaswell modified the milestones: 2.1 (nex 9797 t point release), 2.1.1 (next bug fix release) Sep 24, 2017
@tacaswell tacaswell modified the milestones: 2.1.1 (next bug fix release), 2.2 (next feature release) Oct 9, 2017
@story645 story645 mentioned this issue May 4, 2020
6 tasks
@QuLogic
Copy link
Member
QuLogic commented Oct 29, 2020

The site no longer refers to matplotlib-winbuild, nor does build_alllocal.cmd exist any more. There are no longer any extra dependencies other than the compiler and Python, and a simple pip install . works for installing from source. So I don't think there's anything more to write here.

@QuLogic QuLogic closed this as completed Oct 29, 2020
@story645 story645 removed this from the future releases milestone Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants
0