Browse Source

dev-install now substitutes $PYTHON in $PYTHON_PIP variable

master
Niklas Rosenstein 11 months ago
parent
commit
3adeff26e3
Signed by: NiklasRosenstein GPG Key ID: 06D269B33D25F6C6
1 changed files with 1 additions and 1 deletions
  1. + 1
    - 1
      src/shore/templates/dev_install/dev-install

+ 1
- 1
src/shore/templates/dev_install/dev-install

@ -51,7 +51,7 @@ install_packages = []
_resolve(install_packages, (args.packages or (x['name'] for x in package_def)), list(filter(bool, args.extras.split(','))))
python = os.getenv('PYTHON', 'python')
pip = shlex.split(os.getenv('PYTHON_PIP', '"{0}" -m pip'.format(python)))
pip = shlex.split(os.getenv('PYTHON_PIP', '"{0}" -m pip'.format(python)).replace('$PYTHON', python))
command = pip + ['uninstall' if args.uninstall else 'install']
for pkgname in install_packages:
if not args.no_develop and not args.uninstall:

Loading…
Cancel
Save