PythonEFL: make a little more readable the include directory for sphinx. Also some tweaks to the INSTALL file.
This commit is contained in:
parent
50a70d2933
commit
3ca0ccd040
8
INSTALL
8
INSTALL
|
@ -31,15 +31,15 @@
|
|||
|
||||
* BUILDING WITH GCC/G++ (Linux, OS X, etc.)
|
||||
|
||||
python setup.py build_ext
|
||||
python setup.py build
|
||||
|
||||
* BUILDING WITH Visual Studio (Windows)
|
||||
|
||||
python setup.py build_ext
|
||||
python setup.py build
|
||||
|
||||
* BUILDING WITH MINGW (Windows)
|
||||
|
||||
python setup.py build_ext -c mingw32
|
||||
python setup.py build -c mingw32
|
||||
|
||||
|
||||
|
||||
|
@ -70,7 +70,7 @@
|
|||
To build the docs for the bindings you need to have Sphinx installed, for
|
||||
(optional) graphs you need Graphviz, for (optional) Youtube demonstration
|
||||
videos you need the YouTube module from sphinx contrib repository.
|
||||
packages: python-sphinx, graphviz
|
||||
packages: python-sphinx, graphviz, python-pygraphviz, libgv-python
|
||||
|
||||
To build the docs just run:
|
||||
python setup.py build_doc
|
||||
|
|
|
@ -17,7 +17,12 @@ import sys, os, platform
|
|||
# add these directories to sys.path here. If the directory is relative to the
|
||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||
|
||||
d = "lib." + "-".join((platform.system().lower(), platform.machine(), unicode(sys.version_info[0])+"."+unicode(sys.version_info[1])))
|
||||
d = "lib.%s-%s-%d.%d" % (
|
||||
platform.system().lower(),
|
||||
platform.machine(),
|
||||
sys.version_info[0],
|
||||
sys.version_info[1]
|
||||
)
|
||||
sys.path.insert(0, os.path.abspath("../build/"+d))
|
||||
|
||||
#sys.path.insert(0, os.path.abspath('../build/lib.linux-i686-3.2'))
|
||||
|
|
Loading…
Reference in New Issue