Wed, 06 Feb 2008 19:38:26 -0500
[svn] Find self-extracting archives by their file magic only, not extension/mimetype.
The problem with using extensions/mimetypes for this is that it net way too
many false positives. Files ending in .com, .bat, etc. would cause the
user to be prompted for recursive extraction. This makes that problem go
away, and it means that error messages when the user tries to extract a
non-archive .exe will probably be more useful, too.
#!/usr/bin/env python from distutils.core import setup setup(name="dtrx", version = "6.0", description = "Script to intelligently extract multiple archive types", author = "Brett Smith", author_email = "brettcsmith@brettcsmith.org", url = "http://www.brettcsmith.org/2007/dtrx/", scripts = ['scripts/dtrx'], license = "GNU General Public License, version 3 or later" )