diff -Nuar binwalk-1.3.0.old/src/setup.py binwalk-1.3.0/src/setup.py --- binwalk-1.3.0.old/src/setup.py 2014-02-21 00:06:02.338551521 +0600 +++ binwalk-1.3.0/src/setup.py 2014-02-21 00:07:12.854553956 +0600 @@ -64,35 +64,6 @@ warning(msg, prompt=True) -# Build / install C compression libraries -c_lib_dir = os.path.join(os.path.dirname(os.path.realpath(__file__)), "C") -c_lib_makefile = os.path.join(c_lib_dir, "Makefile") - -working_directory = os.getcwd() -os.chdir(c_lib_dir) -status = 0 - -if not os.path.exists(c_lib_makefile): - status |= os.system("./configure") - -status |= os.system("make") - -if status != 0: - msg = ["Build warning: failed to build compression libraries.", - "Some plugins will not work without these libraries." - ] - - warning(msg, prompt=True) -elif "install" in sys.argv: - if os.system("make install") != 0: - msg = ["Install warning: failed to install compression libraries.", - "Some plugins will not work without these libraries." - ] - - warning(msg, prompt=True) - -os.chdir(working_directory) - # Generate a new magic file from the files in the magic directory print("generating binwalk magic file") magic_files = listdir("magic")