Skip to content

add doc about activating a python env to bypass the set -e of the environment.sh script #10

@utke1

Description

@utke1

https://github.com/bradbell/cmpad/blob/5b75a10efca647f7b827f5a214580d0c06005bd2/xrst/get_started.xrst#L75C1-L75C26

In the snippet above, the environtment.sh bootstraps the environment fine but shell opened after activation is exited after any command error because this script has set -e cf

set -e -u

So I get kicked out of the environment on any command line error I may make. I propose to add to the documentation that the already created environment should be activated e.g. with

source  build/release/bin/activate 

(or suitably adjusted for "build_type" ) which doesn't have the set -e and I won't get kicked out of the environment upon the first error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions