This repository has been archived by the owner on Apr 12, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python.pkgs.pygraphviz: add graphviz path
- Loading branch information
Showing
3 changed files
with
28 additions
and
3 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
13 changes: 13 additions & 0 deletions
13
pkgs/development/python-modules/pygraphviz/graphviz-path.patch
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,13 @@ | ||
diff --git a/pygraphviz/agraph.py b/pygraphviz/agraph.py | ||
index 8f72024..2d8358e 100644 | ||
--- a/pygraphviz/agraph.py | ||
+++ b/pygraphviz/agraph.py | ||
@@ -1557,7 +1557,7 @@ class AGraph(object): | ||
import os | ||
import glob | ||
|
||
- paths = os.environ["PATH"] | ||
+ paths = '@graphvizPath@:' + os.environ["PATH"] | ||
if os.name == "nt": | ||
exe = ".exe" | ||
else: |
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