# OSX (Fink) #library_path='/sw/lib/graphviz' #include_path='/sw/include/graphviz' # OSX (MacPorts) #library_path='/opt/local/lib/graphviz' #include_path='/opt/local/include/graphviz' # Attempt to find Graphviz installation if library_path is None and include_path is None: print "Trying pkg-config" include_path,library_path=pkg_config() if library_path is None and include_path is None: print "Trying dotneato-config" include_path,library_path=dotneato_config() if library_path is None or include_path is None: print print """Your graphviz installation could not be found. Either the graphviz package is missing on incomplete (binary packages graphviz-dev or graphviz-devel missing?). If you think your installation is correct you will need to manually change the include_path and library_path variables in setup.py to point to the correct locations of your graphviz installation. The current setting of library_path and include_path is:""" print "library_path=%s"%library_path print "include_path=%s"%include_path
# Windows # Unknown - use command line -I and -L switches to set if sys.platform == "win32": define_macros.append(('GVDLL', None)) else: # Attempt to find Graphviz installation if library_dirs is None and include_dirs is None: print("Trying pkg-config") include_dirs, library_dirs = pkg_config() if library_dirs is None and include_dirs is None: print("Trying dotneato-config") include_dirs, library_dirs = dotneato_config() if library_dirs is None or include_dirs is None: print() print("""Your Graphviz installation could not be found. 1) You don't have Graphviz installed: Install Graphviz (http://graphviz.org) 2) Your Graphviz package might incomplete. Install the binary development subpackage (e.g. libgraphviz-dev or similar.) 3) You are using Windows There are no PyGraphviz binary packages for Windows but you might be able to build it from this source. See http://networkx.lanl.gov/pygraphviz/reference/faq.html
# Windows # Unknown - use command line -I and -L switches to set if sys.platform == "win32": define_macros.append(('GVDLL', None)) else: # Attempt to find Graphviz installation if library_dirs is None and include_dirs is None: print("Trying pkg-config") include_dirs, library_dirs = pkg_config() if library_dirs is None and include_dirs is None: print("Trying dotneato-config") include_dirs, library_dirs = dotneato_config() if library_dirs is None or include_dirs is None: print() print("""Your Graphviz installation could not be found.) 1) You don't have Graphviz installed: Install Graphviz (http://graphviz.org) 2) Your Graphviz package might incomplete. Install the binary development subpackage (e.g. libgraphviz-dev or similar.) 3) You are using Windows There are no PyGraphviz binary packages for Windows but you might be able to build it from this source. See http://networkx.lanl.gov/pygraphviz/reference/faq.html
# OSX (MacPorts) #library_path='/opt/local/lib/graphviz' #include_path='/opt/local/include/graphviz' # Windows # Unknown # Attempt to find Graphviz installation if library_path is None and include_path is None: print "Trying pkg-config" include_path,library_path=pkg_config() if library_path is None and include_path is None: print "Trying dotneato-config" include_path,library_path=dotneato_config() if library_path is None or include_path is None: print print """Your Graphviz installation could not be found. 1) You don't have Graphviz installed: Install Graphviz (http://graphviz.org) 2) Your Graphviz package might incomplete. Install the binary development subpackage (e.g. libgraphviz-dev or similar.) 3) You are using Windows There are no PyGraphviz binary packages for Windows but you might be able to build it from this source. See http://networkx.lanl.gov/pygraphviz/reference/faq.html