Re: Docbook Python error

Vladimir Prus <[email protected]> Wed, 03 Jun 2015 23:04:24 +0300
Newsgroups gmane.comp.lib.boost.documentation
Message-ID <[email protected]>
On 5/21/2015 1:21 PM, Daniel James wrote:
> On 21 May 2015 at 08:45, Vladimir Prus <[email protected] <mailto:[email protected]>> wrote:
>
>
>     I'm trying to build getting started guide, and get a Python stacktrace.
>     Did anybody run into this and know what to fix? I have Python 3.4
>     and docutils identifies itself as:
>
>              :Date: $Date: 2015-03-15 17:16:30 +0000 (Sun, 15 Mar 2015) $
>              :Revision: $Revision: 7837 $
>
>     Should I use some older version?
>
>
> I don't know, I can only say what works for me. I always use the stable release and I don't install it, I just
> unzip it somewhere and put the location in my user-config.jam.

Apparently, with Python 3 the process is more complicated. After unzipping, I have to run:

    setup.py install --prefix "C:\Users\Vladimir\Local\docutils"

and then use the following initialization in project-config.jam:

    using docutils
        : "C:/Users/Vladimir/Local/docutils/Lib/site-packages"
        : "C:/Users/Vladimir/Local/docutils/Scripts"
        ;

- Volodya