Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
binwalk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-gitdep
binwalk
Commits
9a5a7237
Commit
9a5a7237
authored
Jan 10, 2014
by
devttys0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only check for pre-requisites in setup.py during a build
parent
7a08b8b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
setup.py
setup.py
+3
-2
No files found.
setup.py
View file @
9a5a7237
...
...
@@ -127,8 +127,8 @@ class CleanCommand(Command):
except
Exception
:
pass
# Check pre-requisite Python modules during a
n install
if
"
install
"
in
sys
.
argv
:
# Check pre-requisite Python modules during a
build
if
"
build
"
in
sys
.
argv
:
print
(
"checking pre-requisites"
)
try
:
import
pyqtgraph
...
...
@@ -140,6 +140,7 @@ if "install" in sys.argv:
warning
(
msg
,
prompt
=
True
)
if
"install"
in
sys
.
argv
:
# If an older version of binwalk is currently installed, completely remove it to prevent conflicts
existing_binwalk_modules
=
find_binwalk_module_paths
()
if
existing_binwalk_modules
and
not
os
.
path
.
exists
(
os
.
path
.
join
(
existing_binwalk_modules
[
0
],
"core"
)):
...
...
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