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

Skip to content

Collect information for setting up a development environment #19215

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

Conversation

timhoffm
Copy link
Member

@timhoffm timhoffm commented Jan 2, 2021

PR Summary

It is reasonable to have all development setup information together in one place. You usually only install once, but possibly you want to directly install everything needed to run tests and build documentation as well. Thus, I find it better to list all dependencies here and only link from the documenting and testing sections (The links have been there anyway because they back-reference the general part of setting up a development environement.

This mainly rearranges existing descriptions and adapts wording a little. For sure, there could be done more (e.g. mentioning the docker image or describing how to do this in a conda environment #17096), but I'd leave these for another time because the rearrangement here is large enough already for reviewers.

Also related to #17327.

@timhoffm timhoffm added this to the v3.4.0 milestone Jan 2, 2021
You should set up a dedicated `virtual environment`_ to decouple your
Matplotlib development from other Python and Matplotlib installations on your
system. This is the environment you can safely develop and test your changes
in.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe add a sentence like "Here we recommend the venv virtual environment, you may use others such as conda." (especially since you wrote the env file!)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. More on that will come with #17096.

@timhoffm timhoffm force-pushed the consolidate-install-instructions branch from 7bcae21 to 1fec2ae Compare January 5, 2021 22:14
@story645 story645 merged commit ff7ab9d into matplotlib:master Jan 6, 2021
@timhoffm timhoffm deleted the consolidate-install-instructions branch January 6, 2021 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants