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

Skip to content

Don't work out packages to install if user requests information from setup.p #7538

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 2 commits into from
Dec 7, 2016

Conversation

dstansby
Copy link
Member

Should fix #7056 - this seemed like the neatest way to avoid working out packages to install.

@tacaswell tacaswell added this to the 2.1 (next point release) milestone Dec 1, 2016
@tacaswell tacaswell added the Build label Dec 1, 2016
@tacaswell
Copy link
Member

I suspect that this conflicts with #7530 , would you mind rebasing?

@tacaswell
Copy link
Member

Approval is obviously conditional on fixing the merge conflicts.

@dstansby
Copy link
Member Author

dstansby commented Dec 1, 2016

That should be rebased now

@codecov-io
Copy link

codecov-io commented Dec 1, 2016

Current coverage is 61.88% (diff: 100%)

Merging #7538 into master will not change coverage

@@             master      #7538   diff @@
==========================================
  Files           173        173          
  Lines         56140      56140          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits          34743      34743          
  Misses        21397      21397          
  Partials          0          0          

Powered by Codecov. Last update 45e4a46...b9cdc41

@tacaswell
Copy link
Member

Side note, if you look at https://github.com/matplotlib/matplotlib/pull/7538/files?w=1 to see that this diff is mostly indentation changes.

@dstansby
Copy link
Member Author

dstansby commented Dec 2, 2016

Neat, I didn't know about that feature!

# If the user just queries for information, don't bother figuring out which
# packages to build or install.
if (any('--' + opt in sys.argv for opt in
Distribution.display_option_names + ['help']) or
Copy link
Member

Choose a reason for hiding this comment

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

This line should be indented one more so as to not coincide with the code indent in the block. But even so, it should be indented anyway because it's within the any(.

Copy link
Member Author

Choose a reason for hiding this comment

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

Woops, sorry for missing that. Should be fixed now.

@QuLogic QuLogic merged commit 43b34b9 into matplotlib:master Dec 7, 2016
@QuLogic
Copy link
Member

QuLogic commented Dec 7, 2016

#7056 is milestoned 2.0.1; should we really be backporting this one?

@tacaswell
Copy link
Member

@QuLogic no, bumped the OP to 2.1.

@embray
Copy link
Contributor

embray commented Dec 19, 2016

Ah, I wish GH notified when an issue I opened is referenced from another issue/PR. Thanks for fixing this!

@dstansby dstansby deleted the setup-info-request branch December 19, 2016 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

setup.py --name and friends broken
5 participants