Skip to content
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

[ITA-344] Build Python package under h2o-py/build/. #2881

Merged
merged 3 commits into from Oct 2, 2018

Conversation

michal-raska
Copy link
Contributor

@michal-raska michal-raska commented Sep 25, 2018

Build the Python package inside h2o-py/build directory. The idea is to keep the source files intact, and do everything build related in the build directory.

Copy link
Contributor

@jakubhava jakubhava left a comment

Choose a reason for hiding this comment

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

One comment, otherwise looks good!

file("${projectDir}/dist/").mkdirs()
copy {
from "${buildDir}/dist/*.whl"
into "${projectDir}/dist/"
Copy link
Contributor

Choose a reason for hiding this comment

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

This breaks what we want to achieve here. All generated artifacts should be stored in disposable directory build.

I would just keep the distribution in build/dist and would not copy it anywhere else. Having everything in build makes the clean work properly

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should be removed, thanks @jakubhava.

Copy link
Contributor

@jakubhava jakubhava left a comment

Choose a reason for hiding this comment

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

Thank you! I think this is a great improvement in the build proccess

@michal-raska michal-raska removed the WIP label Oct 2, 2018
@michal-raska michal-raska merged commit bef1932 into master Oct 2, 2018
@michal-raska michal-raska deleted the mr/ita/344-py-build branch October 2, 2018 19:12
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.

None yet

3 participants