setup.py

Sun, 20 Jan 2008 01:59:42 -0500

author
brett
date
Sun, 20 Jan 2008 01:59:42 -0500
branch
trunk
changeset 47
b034b6b4227d
parent 45
37d555407334
child 74
dd577317bccb
permissions
-rw-r--r--

[svn] Fix various bugs in the recursive extraction.

First, 5.0 introduced a regression where it wouldn't find archives hidden
in subdirectories. So fix that.

Then recursive extraction would get confused if the archive was a ONE_ENTRY
and we decided to wrap it or just extract it here. Fix that too: the
extractor keeps track of where it thinks it's extracting to, and then the
handler will change that if necessary.

There are unit tests for all this.

I twiddled some other small thing while I was at it but now I forget what.

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