Skip to content

Commit

Permalink
install_user scripts :: take into account the possibility to be in venv
Browse files Browse the repository at this point in the history
  • Loading branch information
adriansev committed Oct 31, 2024
1 parent b4289f4 commit c254495
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions alienpy/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import sys

ALIENPY_VERSION_HASH = '6ff8a18'
ALIENPY_VERSION_DATE = '20240904_063643'
ALIENPY_VERSION_HASH = '736dcd7'
ALIENPY_VERSION_DATE = '20241031_115052'
ALIENPY_VERSION_STR = '1.6.3'

if __name__ == '__main__':
Expand Down
2 changes: 1 addition & 1 deletion install_user
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash

MYDIR="$(dirname $(realpath ${BASH_SOURCE}))"
python3 -m pip install --user --upgrade "${@}" file://${MYDIR}#egg=alienpy
python3 -m pip install $( [[ -z ${VIRTUAL_ENV} ]] && echo "--user" ) --upgrade "${@}" file://${MYDIR}#egg=alienpy

2 changes: 1 addition & 1 deletion install_user_dev
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash

MYDIR="$(dirname $(realpath ${BASH_SOURCE}))"
python3 -m pip install --user --editable "${@}" file://${MYDIR}#egg=alienpy
python3 -m pip install $( [[ -z ${VIRTUAL_ENV} ]] && echo "--user" ) --editable "${@}" file://${MYDIR}#egg=alienpy

0 comments on commit c254495

Please sign in to comment.