py-nbconvert: add function 'setup_dependent_build_environment'. (#21827)
* py-nbconvert: add function 'setup_dependent_build_environment'. * add 'setup_dependent_run_environment' * add 'setup_run_environment'.
This commit is contained in:
parent
f4e4dba4ef
commit
e66b1d4596
1 changed files with 9 additions and 0 deletions
|
@ -49,3 +49,12 @@ def patch(self):
|
|||
# doesn't try to download it.
|
||||
install(join_path(self.package_dir, 'style.min.css'),
|
||||
join_path('nbconvert', 'resources', 'style.min.css'))
|
||||
|
||||
def setup_run_environment(self, env):
|
||||
env.prepend_path("JUPYTER_PATH", self.prefix.share.jupyter)
|
||||
|
||||
def setup_dependent_build_environment(self, env, dependent_spec):
|
||||
env.prepend_path("JUPYTER_PATH", self.prefix.share.jupyter)
|
||||
|
||||
def setup_dependent_run_environment(self, env, dependent_spec):
|
||||
env.prepend_path("JUPYTER_PATH", self.prefix.share.jupyter)
|
||||
|
|
Loading…
Reference in a new issue