Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
weboob
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
180
Issues
180
List
Boards
Labels
Milestones
Merge Requests
53
Merge Requests
53
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
weboob
weboob
Commits
6ae306ec
Commit
6ae306ec
authored
Jan 02, 2019
by
Romain Bignon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "No deps by default on local install"
This reverts commit
751ddeea
.
parent
830f8ecf
Pipeline
#1865
failed with stages
in 3 minutes and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
13 deletions
+2
-13
tools/local_install.py
tools/local_install.py
+2
-13
No files found.
tools/local_install.py
View file @
6ae306ec
...
...
@@ -6,24 +6,13 @@ import os
import
subprocess
import
sys
if
'--deps'
in
sys
.
argv
:
sys
.
argv
.
remove
(
'--deps'
)
deps
=
[]
else
:
deps
=
[
'--nodeps'
]
print
(
"Weboob local installer"
)
print
()
if
len
(
sys
.
argv
)
<
2
:
print
(
"This tool will install Weboob to be usuable without requiring"
)
print
(
"messing with your system, which should only be touched by a package manager."
)
print
()
print
(
"Usage:
%
s DESTINATION [OPTIONS]"
%
sys
.
argv
[
0
])
print
()
print
(
"By default, no dependencies are installed, as you should try"
)
print
(
"to install them from your package manager as much as possible."
)
print
(
"To install all the missing dependencies, add the option --deps"
)
print
(
"at the end of the command line."
)
print
(
"Usage:
%
s DESTINATION"
%
sys
.
argv
[
0
])
print
()
print
(
"Error: Please provide a destination, "
"for example ‘
%
s/bin’"
%
os
.
getenv
(
'HOME'
),
file
=
sys
.
stderr
)
...
...
@@ -35,7 +24,7 @@ print("Installing weboob applications into ‘%s’." % dest)
subprocess
.
check_call
(
[
sys
.
executable
,
'setup.py'
,
'install'
,
'--user'
,
'--install-scripts=
%
s'
%
dest
]
+
sys
.
argv
[
2
:]
+
deps
,
'install'
,
'--user'
,
'--install-scripts=
%
s'
%
dest
]
+
sys
.
argv
[
2
:],
cwd
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
os
.
pardir
))
subprocess
.
check_call
([
sys
.
executable
,
os
.
path
.
join
(
dest
,
'weboob-config'
),
'update'
])
...
...
Write
Preview
Markdown
is supported
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