Open mbercx opened 1 year ago
Actually, perhaps we shouldn't use virtualenv
at all, and simply use the venv
module which is part of the standard library since Python 3.3. I don't immediately see an advantage of using virtualenv
vs venv
(also see this thread), and perhaps integration with virtualenvwrapper
is also unnecessary.
Partially fixed in https://github.com/aiidateam/aiida-project/commit/bf7b6198edf5a3fe69672019b5d61488e42e4693.
Using the standard library package venv
is definitely preferable, and the package will still look to see if WORKON_HOME
has been set (which is the case for users of virtualenvwrapper
). However, we should perhaps still add instructions for users that want to integrate virtualenvwrapper
after starting to use aiida-project
, i.e. point them to the correct WORKON_HOME
setting to integrate this.
The current approach still has some gaps in it (i.e. it doesn't install
virtualenv
by default), and in practise I still rely on theworkon
command ofvirtualenvwrapper
without explicitly installing it. We should work on making this as seamless as possible in all possible machine setups.