8000 [MRG+2] Enh: Reorganize build files by nelson-liu · Pull Request #6396 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

[MRG+2] Enh: Reorganize build files #6396

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

nelson-liu
Copy link
Contributor

This PR addresses issue #6359 and gets rid of some redundant code in_build_utils/init.py

return
}

main
Copy link
Contributor

Choose a reason for hiding this comment

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

This file content was not changed isn't it ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope, nothing besides the rename

Copy link
Member

Choose a reason for hiding this comment

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

Hmmm interesting why this didn't show up as a git move :/ Did you do the remove / add in separate commits? Would you mind squashing your commits please?

Copy link
Member

Choose a reason for hiding this comment

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

Ah no you seem to have done that in a single commit only - (nelson-liu@231e95a)

Maybe the file mode was changed? (git config core.fileMode false)

@arthurmensch
Copy link
Contributor

LGTM, let's wait for appveyor to finish. @rvraghav93 this could be merged along with PR #6254, I guess the easiest way is for you to rebase on this one, your call :)

@raghavrv
Copy link
Member

This LGTM too!

@arthurmensch Whops :/ Sorry that one is merged now :@ But I think since this PR does not change the cythonize.py, the rebase is trivial...

@nelson-liu could you rebase? Git should automatically resolve the conflicts I feel...

@raghavrv
Copy link
Member

Other than that, you can prefix your PR with MRG+2 and wait for final review + merge... Thanks for the PR!

try:
WindowsError
except NameError:
WindowsError = None
Copy link
Member

Choose a reason for hiding this comment

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

Do we need this? (Sorry if I missed something, but on a unix system, why would a WindowsError be raised?) Totally missed that this was in the removed diff

Copy link
Member

Choose a reason for hiding this comment

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

@ogrisel

You can clean up the useless WindowsError and cython.dat in sklearn/_build_utils/init.py while you are at it.

@nelson-liu nelson-liu changed the title Enh: Reorganize build files [MRG+2] Enh: Reorganize build files Feb 18, 2016
@nelson-liu nelson-liu force-pushed the reorganize_build_files branch from e937b6f to c393d39 Compare February 18, 2016 17:36
fix: change path for building doc on circleci

enh: removed useless WindowError and cythonize.dat in _build_utils init
@nelson-liu nelson-liu force-pushed the reorganize_build_files branch from c393d39 to 4b7a0e0 Compare February 18, 2016 17:41
@nelson-liu
Copy link
Contributor Author

I've rebased and squashed the commits, let me know if there's anything else you'd like me to do

@raghavrv
Copy link
Member

You have to address this comment (clean up the WindowsError like @ogrisel suggested)

@nelson-liu
Copy link
Contributor Author

@rvraghav93 it looks removed to me?

@raghavrv
Copy link
Member
raghavrv co 8000 mmented Feb 18, 2016

Oh yea! Sorry! Scratch that. We'll wait for a day or two for comments from anyone and merge if there is no objection!

@GaelVaroquaux
Copy link
Member

LGTM. Thank you very much!

GaelVaroquaux added a commit that referenced this pull request Feb 19, 2016
@GaelVaroquaux GaelVaroquaux merged commit 2141869 into scikit-learn:master Feb 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0