Browse Source

Put venv directory in main dir.

waf
Ben Niemann 3 years ago
parent
commit
4bb3a125d5
  1. 1
      .gitignore
  2. 4
      build_utils/waf/virtenv.py

1
.gitignore vendored

@ -10,3 +10,4 @@ __pycache__/
/website/_serve/
/.waf*
/.lock-waf*
/venv/

4
build_utils/waf/virtenv.py

@ -41,7 +41,7 @@ from waflib.Context import BOTH, STDOUT
Version = distutils.version.LooseVersion
DEFAULT_VENVDIR = os.path.expanduser('~/.local/share/virtualenvs/noisicaa')
DEFAULT_VENVDIR = 'venv'
RUNTIME = 1
BUILD = 2
@ -261,6 +261,8 @@ def check_virtual_env(ctx):
if not venvdir:
venvdir = DEFAULT_VENVDIR
venvdir = os.path.abspath(venvdir)
ctx.to_log("Using virtual env path %s" % venvdir)
py_path = os.path.join(venvdir, 'bin', 'python')

Loading…
Cancel
Save