mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-21 15:52:28 +00:00
parent
694201d8d3
commit
19278d0acd
@ -25,6 +25,7 @@ from senpy.extensions import Senpy
|
||||
|
||||
import logging
|
||||
import os
|
||||
import sys
|
||||
import argparse
|
||||
import senpy
|
||||
|
||||
@ -88,6 +89,7 @@ def main():
|
||||
args = parser.parse_args()
|
||||
if args.version:
|
||||
print('Senpy version {}'.format(senpy.__version__))
|
||||
print(sys.version)
|
||||
exit(1)
|
||||
logging.basicConfig()
|
||||
rl = logging.getLogger()
|
||||
|
@ -210,7 +210,7 @@ def install_deps(*plugins):
|
||||
for info in plugins:
|
||||
requirements = info.get('requirements', [])
|
||||
if requirements:
|
||||
pip_args = ['pip']
|
||||
pip_args = [sys.executable, '-m', 'pip']
|
||||
pip_args.append('install')
|
||||
pip_args.append('--use-wheel')
|
||||
for req in requirements:
|
||||
|
Loading…
Reference in New Issue
Block a user