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
f6b8665b
Unverified
Commit
f6b8665b
authored
Apr 21, 2017
by
Martin Sundhaug
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check python-lzma availability during installation
parent
09a3f06e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
setup.py
setup.py
+10
-0
No files found.
setup.py
View file @
f6b8665b
...
@@ -199,6 +199,16 @@ install_data_files = []
...
@@ -199,6 +199,16 @@ install_data_files = []
for
data_dir
in
[
"magic"
,
"config"
,
"plugins"
,
"modules"
,
"core"
]:
for
data_dir
in
[
"magic"
,
"config"
,
"plugins"
,
"modules"
,
"core"
]:
install_data_files
.
append
(
"
%
s
%
s*"
%
(
data_dir
,
os
.
path
.
sep
))
install_data_files
.
append
(
"
%
s
%
s*"
%
(
data_dir
,
os
.
path
.
sep
))
# Verify that the lzma-module is available
try
:
import
lzma
except
ImportError
:
try
:
from
backports
import
lzma
except
:
print
(
"Error: python LZMA-module not found, please install before proceeding"
)
sys
.
exit
(
-
1
)
# Install the module, script, and support files
# Install the module, script, and support files
setup
(
name
=
MODULE_NAME
,
setup
(
name
=
MODULE_NAME
,
version
=
"2.1.2b"
,
version
=
"2.1.2b"
,
...
...
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