Mercurial > piecrust2
changeset 800:d4b9d86d3d6f
cm: Allow generating documentation from inside the virtualenv.
Hopefully it goes well...?
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 08 Sep 2016 19:28:34 -0700 |
parents | 59147dd04d49 |
children | 87df68be4cc8 |
files | garcon/documentation.py |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/garcon/documentation.py Wed Sep 07 23:15:53 2016 -0700 +++ b/garcon/documentation.py Thu Sep 08 19:28:34 2016 -0700 @@ -27,10 +27,6 @@ if not venv_dir: venv_dir = os.path.join(base_dir, 'venv') - if sys.prefix == venv_dir: - raise Exception( - "Don't run this script in the PieCrust virtual environment.") - if not os.path.isdir(venv_dir): print("Creating virtual environment in: %s" % venv_dir) run('virtualenv -p python3 "%s"' % venv_dir)