René's URL Explorer Experiment


Title: Retool the setup.py infrastructure by mdboom · Pull Request #1454 · matplotlib/matplotlib · GitHub

Open Graph Title: Retool the setup.py infrastructure by mdboom · Pull Request #1454 · matplotlib/matplotlib

X Title: Retool the setup.py infrastructure by mdboom · Pull Request #1454 · matplotlib/matplotlib

Description: This is a complete reorganization of the setup.py/setupext.py infrastructure, and is the implementation of MEP11. setuptools is now used to integrate with pip/easy_install. Third-party Python dependencies (dateutil, pytz, six and pyparsing) are now installed automatically using setuptools, rather than maintaining local copies. This seems to work quite well for me, but will need to be tested in a number of environments (including with installers) to ensure it's a valid approach. The install is modular: it's possible to turn on/off installing the tests, sample_data and toolkits. We continue to ship Agg and PyCXX because they both require patches that haven't been merged upstream. However, the infrastructure is now present to make these optionally use the system libraries. That remains unimplemented, however, because doing so would produce a broken matplotlib. On Python 3.x, the latest release of pyparsing (1.5.6) has a bug that makes it completely non-functional. This has already been fixed in pyparsing's SVN [1]. The installer will warn when using a version that is too old, and importing matplotlib will raise an exception. There was some discussion on the mailing list about making dateutil and pyparsing optional dependencies. However, on actually trying to implement that, I'm not sure that makes sense. pyplot imports a number of things directly from dateutil, and we would have to deprecate those things in the API. pyparsing is required merely to parse a font descriptor -- so you'd be losing pretty core functionality without it. I have instead made them hard requirements. The installer will warn if they aren't around, try to install them with pip/easy_install, and failing that importing matplotlib without those dependencies will raise an exception. [1] http://pyparsing.svn.sourceforge.net/viewvc/pyparsing?view=revision&revision=219

Open Graph Description: This is a complete reorganization of the setup.py/setupext.py infrastructure, and is the implementation of MEP11. setuptools is now used to integrate with pip/easy_install. Third-party Python depe...

X Description: This is a complete reorganization of the setup.py/setupext.py infrastructure, and is the implementation of MEP11. setuptools is now used to integrate with pip/easy_install. Third-party Python depe...

Opengraph URL: https://github.com/matplotlib/matplotlib/pull/1454

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e32457c6-637c-8aa0-9e34-b45f71e98f2a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCB14:1A5270:1BF2662:26459EE:6A538271
html-safe-noncec87fcec784d4637cfebe9240cd41c21d172bec8101b86698eea37a0bac9eb945
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjE0OjFBNTI3MDoxQkYyNjYyOjI2NDU5RUU6NkE1MzgyNzEiLCJ2aXNpdG9yX2lkIjoiMjgwMjM1MTM5MjMwNzc3NDA2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9afe94eff4c007cb443a5daca2dffe1c7b6b5b357c300344807d83b206ded5e2
hovercard-subject-tagpull_request:2902624
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/matplotlib/matplotlib/pull/1454/files
twitter:imagehttps://avatars.githubusercontent.com/u/38294?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/38294?s=400&v=4
og:image:altThis is a complete reorganization of the setup.py/setupext.py infrastructure, and is the implementation of MEP11. setuptools is now used to integrate with pip/easy_install. Third-party Python depe...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git
octolytics-dimension-user_id215947
octolytics-dimension-user_loginmatplotlib
octolytics-dimension-repository_id1385122
octolytics-dimension-repository_nwomatplotlib/matplotlib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1385122
octolytics-dimension-repository_network_root_nwomatplotlib/matplotlib
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/pull/1454/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F1454%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F1454%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=matplotlib%2Fmatplotlib
Reloadhttps://github.com/matplotlib/matplotlib/pull/1454/files
Reloadhttps://github.com/matplotlib/matplotlib/pull/1454/files
Reloadhttps://github.com/matplotlib/matplotlib/pull/1454/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/1454/files
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/1454/files
Notifications https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Fork 8.4k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Star 23k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Code https://github.com/matplotlib/matplotlib
Issues 1.1k https://github.com/matplotlib/matplotlib/issues
Pull requests 408 https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security and quality 0 https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
Code https://github.com/matplotlib/matplotlib
Issues https://github.com/matplotlib/matplotlib/issues
Pull requests https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security and quality https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fmatplotlib%2Fmatplotlib%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib%2Fissues%2Fnew%2Fchoose
mdboomhttps://github.com/mdboom
matplotlib:masterhttps://github.com/matplotlib/matplotlib/tree/master
mdboom:setup_reworkhttps://github.com/mdboom/matplotlib/tree/setup_rework
Conversation 43 https://github.com/matplotlib/matplotlib/pull/1454
Commits 24 https://github.com/matplotlib/matplotlib/pull/1454/commits
Checks 0 https://github.com/matplotlib/matplotlib/pull/1454/checks
Files changed https://github.com/matplotlib/matplotlib/pull/1454/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/1454/files
Retool the setup.py infrastructure https://github.com/matplotlib/matplotlib/pull/1454/files#top
Show all changes 24 commits https://github.com/matplotlib/matplotlib/pull/1454/files
6aa7b29 First pass at making setup more sane. mdboom Oct 8, 2012 https://github.com/matplotlib/matplotlib/pull/1454/commits/6aa7b291cb9c587aaf6d13f74bf29b2d4d33823f
4ae2fd2 Removing dateutils, pytz and six (external Python dependencies) mdboom Oct 9, 2012 https://github.com/matplotlib/matplotlib/pull/1454/commits/4ae2fd2c3b96745f5a9474d644ab0585d5a22273
04a73b4 Fix a few bugs in the build. mdboom Oct 9, 2012 https://github.com/matplotlib/matplotlib/pull/1454/commits/04a73b4d4a961bb415b7e6b24dca0b20a73de3e9
bae0859 More fixes mdboom Oct 9, 2012 https://github.com/matplotlib/matplotlib/pull/1454/commits/bae085994d9f7db2032eaa96eff1675e2222a643
9b408cd setupegg.py is now redundant. mdboom Nov 6, 2012 https://github.com/matplotlib/matplotlib/pull/1454/commits/9b408cd008a4c7eb7b6a2c0ef454d111513f6f86
6f64971 Fix type in dates docs mdboom Nov 6, 2012 https://github.com/matplotlib/matplotlib/pull/1454/commits/6f649713dfd5b1645726d0b56d1f7ed8b7ec8bc0
088a267 Update INSTALL document to reflect new reality mdboom Nov 6, 2012 https://github.com/matplotlib/matplotlib/pull/1454/commits/088a267face3c366e663187f1647ab0c8e9a9653
7018842 Handle dateutil and pyparsing in the same manner as everything else. mdboom Nov 6, 2012 https://github.com/matplotlib/matplotlib/pull/1454/commits/7018842f04932ab37f8b6409d05934df335d9c14
49bd70a Raise exception early if pyparsing and/or dateutil are not installed. mdboom Nov 6, 2012 https://github.com/matplotlib/matplotlib/pull/1454/commits/49bd70a6f1c5fee44413356a767c0f975e767171
4d8c846 Fix pyparsing on python 3 check mdboom Nov 6, 2012 https://github.com/matplotlib/matplotlib/pull/1454/commits/4d8c846439a40bd489fc947976086cf7b2ffaac4
7db8fe2 Fix build on Python 2.6 mdboom Nov 16, 2012 https://github.com/matplotlib/matplotlib/pull/1454/commits/7db8fe22902e1247d9db380fe848f1f3f5ea4986
b81c917 Update Travis dependencies mdboom Nov 16, 2012 https://github.com/matplotlib/matplotlib/pull/1454/commits/b81c917dfb13287d9268c54ee78824a2192c788e
4301543 Implement a better way to handle overflow in the Agg backend. mdboom Nov 19, 2012 https://github.com/matplotlib/matplotlib/pull/1454/commits/4301543c3df4990a9200d60ca94697f81205e863
d93226e Fix agg overflow test mdboom Nov 19, 2012 https://github.com/matplotlib/matplotlib/pull/1454/commits/d93226e7402a9f875d7449b8587372c0cbfb4236
5f41835 Make using an external PyCXX possible on != Python 2.7 mdboom Nov 19, 2012 https://github.com/matplotlib/matplotlib/pull/1454/commits/5f41835a06ba2eddf4a988f9f87927749b0b568a
ce1da9b Fix infinite process recursion on Windows mdboom Nov 20, 2012 https://github.com/matplotlib/matplotlib/pull/1454/commits/ce1da9b07c9f89f76622a823d92f85bd00f7b172
e0735bf Update to PyCXX 6.2.4 mdboom Nov 26, 2012 https://github.com/matplotlib/matplotlib/pull/1454/commits/e0735bf00489949baea5b35bae7e668111e7d502
ee2f3f4 Update the CXX detection code to use the system PyCXX in more cases mdboom Nov 26, 2012 https://github.com/matplotlib/matplotlib/pull/1454/commits/ee2f3f4fd57f8c6ad7dbef6ddc0cbed7d33fc0f6
8f95f1c Fix compiler warnings about compare_handler mdboom Nov 26, 2012 https://github.com/matplotlib/matplotlib/pull/1454/commits/8f95f1c8851e0fa522939011a6125c4937212d7a
da76037 Attempting to fix Travis tests mdboom Dec 7, 2012 https://github.com/matplotlib/matplotlib/pull/1454/commits/da760370dd8eef4adeec24198ff2a6f426b69fd1
b5443e2 Windows fixes from cgohlke mdboom Dec 19, 2012 https://github.com/matplotlib/matplotlib/pull/1454/commits/b5443e23f95be750ea646138d7c8b0750114acf2
009b1a0 Fixups after rebase mdboom Jan 16, 2013 https://github.com/matplotlib/matplotlib/pull/1454/commits/009b1a01ca7eb675394626c84e0abc730f04e63f
0ed7228 multiprocessing doesn't work with Travis, so just skip the things tha… mdboom Feb 25, 2013 https://github.com/matplotlib/matplotlib/pull/1454/commits/0ed7228a3a55e9c6fcf0f6efc3938c938f59900a
5934e0e Properly install the pylab module mdboom Feb 25, 2013 https://github.com/matplotlib/matplotlib/pull/1454/commits/5934e0e05d53ad1b140a5d3f63247a52d6f810c9
Clear filters https://github.com/matplotlib/matplotlib/pull/1454/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/1454/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/1454/files
.travis.ymlhttps://github.com/matplotlib/matplotlib/pull/1454/files#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485
View file https://github.com/mdboom/matplotlib/blob/5934e0e05d53ad1b140a5d3f63247a52d6f810c9/.travis.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/1454/{{ revealButtonHref }}
https://github.com/matplotlib/matplotlib/pull/1454/files#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485
https://github.com/matplotlib/matplotlib/pull/1454/files#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485
CXX/IndirectPythonInterface.cxxhttps://github.com/matplotlib/matplotlib/pull/1454/files#diff-d28ab1f58b59de3e9550674c5fa0391c37d3cd412ce955254a7822ce66a1a8c1
View file https://github.com/mdboom/matplotlib/blob/5934e0e05d53ad1b140a5d3f63247a52d6f810c9/CXX/IndirectPythonInterface.cxx
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/1454/files
CXX/Python2/ExtensionModule.hxxhttps://github.com/matplotlib/matplotlib/pull/1454/files#diff-641c05c6e2516af7022b4b8d961467546e3ee1d3af85adc2389db5ddea934bd5
View file https://github.com/mdboom/matplotlib/blob/5934e0e05d53ad1b140a5d3f63247a52d6f810c9/CXX/Python2/ExtensionModule.hxx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/1454/{{ revealButtonHref }}
https://github.com/matplotlib/matplotlib/pull/1454/files#diff-641c05c6e2516af7022b4b8d961467546e3ee1d3af85adc2389db5ddea934bd5
https://github.com/matplotlib/matplotlib/pull/1454/files#diff-641c05c6e2516af7022b4b8d961467546e3ee1d3af85adc2389db5ddea934bd5
https://github.com/matplotlib/matplotlib/pull/1454/files#diff-641c05c6e2516af7022b4b8d961467546e3ee1d3af85adc2389db5ddea934bd5
https://github.com/matplotlib/matplotlib/pull/1454/files#diff-641c05c6e2516af7022b4b8d961467546e3ee1d3af85adc2389db5ddea934bd5
CXX/Python2/ExtensionOldType.hxxhttps://github.com/matplotlib/matplotlib/pull/1454/files#diff-5c838b589597e04c096e8637fd90067970bfab4b77040ad16f30983069f63455
View file https://github.com/mdboom/matplotlib/blob/5934e0e05d53ad1b140a5d3f63247a52d6f810c9/CXX/Python2/ExtensionOldType.hxx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/1454/{{ revealButtonHref }}
https://github.com/matplotlib/matplotlib/pull/1454/files#diff-5c838b589597e04c096e8637fd90067970bfab4b77040ad16f30983069f63455
https://github.com/matplotlib/matplotlib/pull/1454/files#diff-5c838b589597e04c096e8637fd90067970bfab4b77040ad16f30983069f63455
https://github.com/matplotlib/matplotlib/pull/1454/files#diff-5c838b589597e04c096e8637fd90067970bfab4b77040ad16f30983069f63455
https://github.com/matplotlib/matplotlib/pull/1454/files#diff-5c838b589597e04c096e8637fd90067970bfab4b77040ad16f30983069f63455
https://github.com/matplotlib/matplotlib/pull/1454/files#diff-5c838b589597e04c096e8637fd90067970bfab4b77040ad16f30983069f63455
https://github.com/matplotlib/matplotlib/pull/1454/files#diff-5c838b589597e04c096e8637fd90067970bfab4b77040ad16f30983069f63455
https://github.com/matplotlib/matplotlib/pull/1454/files#diff-5c838b589597e04c096e8637fd90067970bfab4b77040ad16f30983069f63455
https://github.com/matplotlib/matplotlib/pull/1454/files#diff-5c838b589597e04c096e8637fd90067970bfab4b77040ad16f30983069f63455
CXX/Python2/ExtensionTypeBase.hxxhttps://github.com/matplotlib/matplotlib/pull/1454/files#diff-18f2cb26b63aaf0e5da55d8db38a83c65b2fbfbef094d3c77320a74490f14adb
View file https://github.com/mdboom/matplotlib/blob/5934e0e05d53ad1b140a5d3f63247a52d6f810c9/CXX/Python2/ExtensionTypeBase.hxx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/1454/{{ revealButtonHref }}
https://github.com/matplotlib/matplotlib/pull/1454/files#diff-18f2cb26b63aaf0e5da55d8db38a83c65b2fbfbef094d3c77320a74490f14adb
https://github.com/matplotlib/matplotlib/pull/1454/files#diff-18f2cb26b63aaf0e5da55d8db38a83c65b2fbfbef094d3c77320a74490f14adb
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/1454/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.