Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
senpy
senpy
Commits
19278d0a
Commit
19278d0a
authored
Nov 22, 2017
by
J. Fernando Sánchez
Browse files
Use the right version of PIP (py2/py3)
Closes
#47
parent
694201d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
senpy/__main__.py
View file @
19278d0a
...
...
@@ -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
()
...
...
senpy/plugins/__init__.py
View file @
19278d0a
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment