Skip to content

Conversation

@gayoso
Copy link

@gayoso gayoso commented Nov 8, 2019

Added a variable to the config file: VIRTUALENV_PATH
Now instead of being predefined, the virtualenv is activated or created in the specified directory. Default value is the same as the previous predefined path.
If created, ownership is then given to the current user to avoid 'permission denied' errors for creating the virtualenv using sudo.

Also changed install script to only install api calling "pip" when using virtualenv, instead of calling "pip2" and "pip3" separately. As virtualenv only has one python version, this caused the api to be installed for the virtualenv but also for the local user on one version of python.

Finally, changed uninstall script to activate virtualenv before uninstalling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant