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
Conversation
There was a problem hiding this 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!
h2o-py/build.gradle
Outdated
file("${projectDir}/dist/").mkdirs() | ||
copy { | ||
from "${buildDir}/dist/*.whl" | ||
into "${projectDir}/dist/" |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this 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
Build the Python package inside
h2o-py/build
directory. The idea is to keep the source files intact, and do everything build related in thebuild
directory.