forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=589442 Package-Manager: portage-2.3.2 Signed-off-by: Justin Lecher <[email protected]>
- Loading branch information
Showing
2 changed files
with
24 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
setup.py | 3 ++ | ||
1 file changed, 2 insertions(+) | ||
|
||
diff --git a/setup.py b/setup.py | ||
index 679f984..6de421e 100755 | ||
--- a/setup.py | ||
+++ b/setup.py | ||
@@ -167,6 +167,8 @@ class xinstall(install): | ||
# install Jupyter hook | ||
root = self.root if self.root else None | ||
prefix = self.prefix if self.prefix else None | ||
+ destdir = os.environ["ED"] | ||
+ prefix = destdir + prefix | ||
try: | ||
install_jupyter_hook(prefix=prefix, root=root) | ||
except Exception: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters