-
Notifications
You must be signed in to change notification settings - Fork 337
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
rez-release does not copy @include() scripts to packages dir #510
Comments
I've been able to fix this, by modifying my rez-install's code. This is my understanding: # ============
# rez-build -i
# ============
rezplugins.build_process.local.LocalBuildProcess().build()
# calls `self.visit_variants( self._build_ariant, ...)` to perform build
# if install `self._install_include_modules(install_path)`
# ===========
# rez-release
# ===========
rezplugins.build_process.local.LocalBuildProcess().release()
# calls `self.visit_variants( self._release_variant )` for each variant
# calls `self._build_system.build()` to build each variant
# nothing calls `self._install_include_modules(install_path)` Adding I can make a pull request if that is helpful.
|
Hi Will,
Yes thank you! It's entirely possible this never got tested on a release,
and was just tested on `build -i`, since so much of the code is common.
Thanks,
A
…On Sun, Apr 29, 2018 at 2:10 AM, Will Pittman ***@***.***> wrote:
I've been able to fix this, by modifying my rez-install's code. This is my
understanding:
# ============# rez-build -i# ============
rezplugins.build_process.local.LocalBuildProcess().build()
# calls `self.visit_variants( self._build_ariant, ...)` to perform build
# if install `self._install_include_modules(install_path)`
# ===========# rez-release# ===========
rezplugins.build_process.local.LocalBuildProcess().release()
# calls `self.visit_variants( self._release_variant )` for each variant
# calls `self._build_system.build()` to build each variant
# nothing calls `self._install_include_modules(install_path)`
Adding self._install_include_modules(install_path) to
rezplugins.build_process.local.LocalBuildProcess()._release_variant()
under it's if install: fixes this issue for me.
I can make a pull request if that is helpful.
- Will
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#510 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABjqSvyDxRDTgon21P3sXRNTuZ2iR0L6ks5ttJRYgaJpZM4TlIDo>
.
|
No problem! Thanks for writing all of this, and thanks for sharing :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey Guys
When I rez-release a package that uses the
@include
decorator, the includedscript does not get copied to the release packages directory.
I have noticed that when I use
rez-build -i
a subdirectory.rez/include
iscreated with the created package, and that script is read when
rez-env
is run.This directory does not get created in released packages. When I try to run a
rez-env from a released package, even if the included script is on the
package_definition_python_path
, the rez-env fails because it cannot find theincluded script.
I am not certain if this is an issue with rez-release, or an issue with my workflow
( and I apologize if this is the latter ). Either way, I was wondering if anyone
had any tips for working with
@include
in conjunction withrez-release
. Thank youso much again,
Will
The text was updated successfully, but these errors were encountered: