setup.py

Wed, 13 Jan 2010 19:39:36 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Wed, 13 Jan 2010 19:39:36 +0000
branch
trunk
changeset 125
c4495fc7d00d
parent 124
19c34f5fc8eb
permissions
-rw-r--r--

Add support for fetching archives from URLs

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",
124
19c34f5fc8eb release dtrx 6.6
Brett Smith <brettcsmith@brettcsmith.org>
parents: 121
diff changeset
6 version = "6.6",
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/",
119
75152089f36a add more metadata for Cheese Shop et al.
Brett Smith <brettcsmith@brettcsmith.org>
parents: 101
diff changeset
11 download_url = "http://www.brettcsmith.org/2007/dtrx/",
19
bb6e9f4af1a5 [svn] Rename the program to dtrx.
brett
parents: 18
diff changeset
12 scripts = ['scripts/dtrx'],
119
75152089f36a add more metadata for Cheese Shop et al.
Brett Smith <brettcsmith@brettcsmith.org>
parents: 101
diff changeset
13 license = "GNU General Public License, version 3 or later",
75152089f36a add more metadata for Cheese Shop et al.
Brett Smith <brettcsmith@brettcsmith.org>
parents: 101
diff changeset
14 classifiers = ['Development Status :: 5 - Production/Stable',
75152089f36a add more metadata for Cheese Shop et al.
Brett Smith <brettcsmith@brettcsmith.org>
parents: 101
diff changeset
15 'Environment :: Console',
75152089f36a add more metadata for Cheese Shop et al.
Brett Smith <brettcsmith@brettcsmith.org>
parents: 101
diff changeset
16 'Intended Audience :: End Users/Desktop',
75152089f36a add more metadata for Cheese Shop et al.
Brett Smith <brettcsmith@brettcsmith.org>
parents: 101
diff changeset
17 'Intended Audience :: System Administrators',
75152089f36a add more metadata for Cheese Shop et al.
Brett Smith <brettcsmith@brettcsmith.org>
parents: 101
diff changeset
18 'License :: OSI Approved :: GNU General Public License (GPL)',
75152089f36a add more metadata for Cheese Shop et al.
Brett Smith <brettcsmith@brettcsmith.org>
parents: 101
diff changeset
19 'Natural Language :: English',
75152089f36a add more metadata for Cheese Shop et al.
Brett Smith <brettcsmith@brettcsmith.org>
parents: 101
diff changeset
20 'Operating System :: POSIX',
75152089f36a add more metadata for Cheese Shop et al.
Brett Smith <brettcsmith@brettcsmith.org>
parents: 101
diff changeset
21 'Programming Language :: Python',
75152089f36a add more metadata for Cheese Shop et al.
Brett Smith <brettcsmith@brettcsmith.org>
parents: 101
diff changeset
22 'Topic :: Utilities'],
75152089f36a add more metadata for Cheese Shop et al.
Brett Smith <brettcsmith@brettcsmith.org>
parents: 101
diff changeset
23 long_description = """dtrx extracts archives in a number of different
75152089f36a add more metadata for Cheese Shop et al.
Brett Smith <brettcsmith@brettcsmith.org>
parents: 101
diff changeset
24 formats; it currently supports tar, zip (including self-extracting
75152089f36a add more metadata for Cheese Shop et al.
Brett Smith <brettcsmith@brettcsmith.org>
parents: 101
diff changeset
25 .exe files), cpio, rpm, deb, gem, 7z, cab, rar, and InstallShield
75152089f36a add more metadata for Cheese Shop et al.
Brett Smith <brettcsmith@brettcsmith.org>
parents: 101
diff changeset
26 files. It can also decompress files compressed with gzip, bzip2,
124
19c34f5fc8eb release dtrx 6.6
Brett Smith <brettcsmith@brettcsmith.org>
parents: 121
diff changeset
27 lzma, xz, or compress.
119
75152089f36a add more metadata for Cheese Shop et al.
Brett Smith <brettcsmith@brettcsmith.org>
parents: 101
diff changeset
28
75152089f36a add more metadata for Cheese Shop et al.
Brett Smith <brettcsmith@brettcsmith.org>
parents: 101
diff changeset
29 In addition to providing one command to handle many different archive
75152089f36a add more metadata for Cheese Shop et al.
Brett Smith <brettcsmith@brettcsmith.org>
parents: 101
diff changeset
30 types, dtrx also aids the user by extracting contents consistently.
75152089f36a add more metadata for Cheese Shop et al.
Brett Smith <brettcsmith@brettcsmith.org>
parents: 101
diff changeset
31 By default, everything will be written to a dedicated directory
75152089f36a add more metadata for Cheese Shop et al.
Brett Smith <brettcsmith@brettcsmith.org>
parents: 101
diff changeset
32 that's named after the archive. dtrx will also change the
75152089f36a add more metadata for Cheese Shop et al.
Brett Smith <brettcsmith@brettcsmith.org>
parents: 101
diff changeset
33 permissions to ensure that the owner can read and write all those
75152089f36a add more metadata for Cheese Shop et al.
Brett Smith <brettcsmith@brettcsmith.org>
parents: 101
diff changeset
34 files."""
75152089f36a add more metadata for Cheese Shop et al.
Brett Smith <brettcsmith@brettcsmith.org>
parents: 101
diff changeset
35 )

mercurial