setup.py

Thu, 17 Jan 2008 22:36:07 -0500

author
brett
date
Thu, 17 Jan 2008 22:36:07 -0500
branch
trunk
changeset 45
37d555407334
parent 42
4a4cab75d5e6
child 74
dd577317bccb
permissions
-rw-r--r--

[svn] At work I was getting an unhelpful "No such file or directory" error when I
tried to extract an .exe. It turns out this was because I didn't have
cabextract installed. This inspired a few changes:

* BaseExtractor now raises an ExtractorUnusable error when this happens.
* Various points in the code deal with this properly.
* The loop for trying extractors will now report all the errors it got, if
extraction is unsuccessful, to better help you understand why.

Also snuck in a bug fix where things weren't being cleaned properly with a
half-extracted archive.

Also got my version number situation in order, in anticipation for the next
release, which may be a while yet but at least I won't have to worry about
it then.

1
a86a0cb0dd57 [svn] Repository reorganization to make tags easy
brett
parents:
diff changeset
1 #!/usr/bin/env python
a86a0cb0dd57 [svn] Repository reorganization to make tags easy
brett
parents:
diff changeset
2
a86a0cb0dd57 [svn] Repository reorganization to make tags easy
brett
parents:
diff changeset
3 from distutils.core import setup
a86a0cb0dd57 [svn] Repository reorganization to make tags easy
brett
parents:
diff changeset
4
19
bb6e9f4af1a5 [svn] Rename the program to dtrx.
brett
parents: 18
diff changeset
5 setup(name="dtrx",
45
37d555407334 [svn] At work I was getting an unhelpful "No such file or directory" error when I
brett
parents: 42
diff changeset
6 version = "6.0",
1
a86a0cb0dd57 [svn] Repository reorganization to make tags easy
brett
parents:
diff changeset
7 description = "Script to intelligently extract multiple archive types",
a86a0cb0dd57 [svn] Repository reorganization to make tags easy
brett
parents:
diff changeset
8 author = "Brett Smith",
a86a0cb0dd57 [svn] Repository reorganization to make tags easy
brett
parents:
diff changeset
9 author_email = "brettcsmith@brettcsmith.org",
42
4a4cab75d5e6 [svn] Update documentation.
brett
parents: 28
diff changeset
10 url = "http://www.brettcsmith.org/2007/dtrx/",
19
bb6e9f4af1a5 [svn] Rename the program to dtrx.
brett
parents: 18
diff changeset
11 scripts = ['scripts/dtrx'],
28
4d88f2231d33 [svn] Change all the license notices from GPLv2 to GPLv3.
brett
parents: 19
diff changeset
12 license = "GNU General Public License, version 3 or later"
1
a86a0cb0dd57 [svn] Repository reorganization to make tags easy
brett
parents:
diff changeset
13 )

mercurial