Skip to content

Adapt setup.sh to support Windows #239

@dgarcia360

Description

@dgarcia360

Motivation

The project operator sets set -eu -o pipefail in setup.py. This makes the complete script to fail if a line fails.

On Windows, the command source ${HOME}/.poetry/env raises the error "No such file or directory" because poetry is installed in another location and this command is not needed. For this reason, commenting out this line or removing set -eu -o pipefail render the docs as expected.

Proposal

  • Run source ${HOME}/.poetry/env in Linux /Mac, and find the alternative command / path for Windows.
  • Apply the change to all projects.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions