setup.py

Wed, 06 Feb 2008 19:38:26 -0500

author
brett
date
Wed, 06 Feb 2008 19:38:26 -0500
branch
trunk
changeset 59
7a0aafe2fe87
parent 45
37d555407334
child 74
dd577317bccb
permissions
-rw-r--r--

[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"
     )

mercurial