Skip to content
Snippets Groups Projects

Topic/explicit python env

Merged David Trattnig requested to merge topic/explicit_python_env into master
2 unresolved threads

@nnrcschmdt I've done some small improvements:

  • using "virtualenv" instead of "venv" in the Readme, to be consistent with all the other Readmes
  • using an explicit Python version (3.8) für vitualenv, because "python3" uses whatever is available
  • Updated the "init" script in "run.sh"

If you are fine with them would be great if you could merge. Thanks :)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
37 37
38 38 Create a virtual environment where the dependencies will live::
39 39
40 $ python3 -m venv python
40 $ virtualenv -p python3.8 python
  • 41 41
    42 42 if [[ $mode == "init" ]]; then
    43 43 echo "Creating Python VirtualEnvironment"
    44 virtualenv -p python3.6 python
    44 virtualenv -p python3.8 python
  • David Trattnig added 1 commit

    added 1 commit

    • 65ae8da7 - Use venv to avoid extra dependency.

    Compare with previous version

  • After feedback from @nnrcschmdt changed virtualenv to venv, as it doesn't require an extra dependency.

  • Ernesto Rico Schmidt approved this merge request

    approved this merge request

  • mentioned in commit 3692e38f

  • Please register or sign in to reply
    Loading