How would I do that from a buildbot configuration?

AFAIK the buildbot itself is already running in a python process, and
executing shell commands from it won't retain the virtual env?

The docs for buildbot and virtualenv assume running in a shell, not
running in python running a shell after a shell.

Martijn


On Fri, Nov 18, 2016 at 5:20 PM, Michael Shuler <mich...@pbandjelly.org> wrote:
> On 11/18/2016 09:56 AM, Martijn Dashorst wrote:
>> For generating the Wicket manual, we want to use plantuml from
>> asciidoctor. This requires the availability of graphviz (i.e. dot) on
>> the server.
>>
>> Is this available, and if so where can the executable be found? If it
>> isn't available, can it be made available?
>
> I would suggest a more generic approach that also allows you to specify
> module versions, if needed (I'm pretty sure virtualenv is available, but
> check that first):
>
>   #!/bin/sh -e
>   virtualenv venv
>   . venv/bin/activate
>   pip install graphviz
>   # build wicket docs
>   deactivate
>
> --
> Kind regards,
> Michael



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com

Reply via email to