Unverified Commit f42a200b by devttys0 Committed by GitHub

Merge pull request #387 from bannsec/master

Adding version into sdist
parents 36de6f78 fd3e59f8
...@@ -329,7 +329,7 @@ for data_dir in ["magic", "config", "plugins", "modules", "core"]: ...@@ -329,7 +329,7 @@ for data_dir in ["magic", "config", "plugins", "modules", "core"]:
# If doing a build or installation, then create a version.py file # If doing a build or installation, then create a version.py file
# which defines the current binwalk version. This file is excluded # which defines the current binwalk version. This file is excluded
# from git in the .gitignore file. # from git in the .gitignore file.
if 'install' in ' '.join(sys.argv) or 'build' in ' '.join(sys.argv): if 'install' in ' '.join(sys.argv) or 'build' in ' '.join(sys.argv) or 'sdist' in ' '.join(sys.argv):
sys.stdout.write("creating %s\n" % (VERSION_FILE)) sys.stdout.write("creating %s\n" % (VERSION_FILE))
try: try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment