Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Move {setup,install}_requires from setupext.py to setup.py.#13542

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
tacaswell merged 1 commit intomatplotlib:masterfromanntzer:numpy_requires
May 26, 2019

Conversation

@anntzer
Copy link
Contributor

The Numpy class in setupext.py serves two purposes: declare a
setup_requires and an install_requires on numpy, and provide a
add_flags() (effectively static) method to link extension modules to
numpy.

Instead, we can just merge the setup and install_requires together
with all other install_requires, and move all of them to setup.py
(deleting the machinery to grab setup_requires and install_requires
from multiple places), and make the add_flags() method a free function
(add_numpy_flags()).

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code isFlake 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

@jklymakjklymak added this to thev3.2.0 milestoneFeb 28, 2019
The Numpy class in setupext.py serves two purposes: declare asetup_requires and an install_requires on numpy, and provide aadd_flags() (effectively static) method to link extension modules tonumpy.Instead, we can just merge the setup and install_requires togetherwith all other install_requires, and move all of them to setup.py(deleting the machinery to grab setup_requires and install_requiresfrom multiple places), and make the add_flags() method a free function(add_numpy_flags()).
Copy link
Member

@efiringefiring left a comment

Choose a reason for hiding this comment

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

I'm not a setup expert by any means, but this looks good to me.

@efiringefiring requested a review fromQuLogicMay 26, 2019 00:06
@tacaswelltacaswell merged commit4ce649c intomatplotlib:masterMay 26, 2019
@anntzeranntzer deleted the numpy_requires branchMay 26, 2019 05:46
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@efiringefiringefiring approved these changes

@timhoffmtimhoffmtimhoffm approved these changes

@QuLogicQuLogicAwaiting requested review from QuLogic

Assignees

No one assigned

Labels

Projects

None yet

Milestone

v3.2.0

Development

Successfully merging this pull request may close these issues.

5 participants

@anntzer@efiring@timhoffm@tacaswell@jklymak

[8]ページ先頭

©2009-2025 Movatter.jp