setup.py

Sat, 04 Nov 2006 10:34:06 -0500

author
brett
date
Sat, 04 Nov 2006 10:34:06 -0500
branch
trunk
changeset 5
36f352abd093
parent 1
a86a0cb0dd57
child 11
a2ca41a85243
permissions
-rw-r--r--

[svn] Deal with a bunch of low-hanging fruit:

* Correctly cope with mimetype oddities I found on Fedora.

* I'm not doing anything with shar files yet, so take out that hook.

* Better error handling and reporting throughout, including a meaningful
exit code.

* Remove unused cruft from the BaseExtractor.run method.

* When reporting the "basename" for the archive, make sure it doesn't
include any preceding path.

* If the archive contains one directory whose name doesn't match the
archive basename, rename it after extraction.
- Although I just realized this probably does the wrong thing if there's
just one file in the archive.

#!/usr/bin/env python

from distutils.core import setup

setup(name="x",
      version = "1.0",
      description = "Script to intelligently extract multiple archive types",
      author = "Brett Smith",
      author_email = "brettcsmith@brettcsmith.org",
      url = "http://www.brettcsmith.org/2006/x",
      scripts = ['scripts/x'],
     )

mercurial