venv in code directory (#29452)

put venv in code directory
pull/29457/head
Greg Hogan 2 years ago committed by GitHub
parent 62a88e504d
commit 282fd778aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      .dockerignore
  2. 1
      .gitignore
  3. 1
      tools/install_python_dependencies.sh

@ -16,6 +16,9 @@
*.so *.so
*.a *.a
venv/
.venv/
notebooks notebooks
phone phone
massivemap massivemap

1
.gitignore vendored

@ -1,4 +1,5 @@
venv/ venv/
.venv/
.env .env
.clang-format .clang-format
.DS_Store .DS_Store

@ -50,6 +50,7 @@ pip install pip==23.2.1
pip install poetry==1.5.1 pip install poetry==1.5.1
poetry config virtualenvs.prefer-active-python true --local poetry config virtualenvs.prefer-active-python true --local
poetry config virtualenvs.in-project true --local
echo "PYTHONPATH=${PWD}" > $ROOT/.env echo "PYTHONPATH=${PWD}" > $ROOT/.env
poetry self add poetry-dotenv-plugin@^0.1.0 poetry self add poetry-dotenv-plugin@^0.1.0

Loading…
Cancel
Save