Improve distribution v2.1.0
authorIra W. Snyder <devel@irasnyder.com>
Sun, 9 Nov 2008 20:22:54 +0000 (12:22 -0800)
committerIra W. Snyder <devel@irasnyder.com>
Sun, 9 Nov 2008 20:22:54 +0000 (12:22 -0800)
Add a ChangeLog and example configuration file to the source
distribution. This makes things nicer for the end user.

Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
ChangeLog [new file with mode: 0644]
MANIFEST.in [new file with mode: 0644]
rarslave.conf [new file with mode: 0644]
rarslave.py

diff --git a/ChangeLog b/ChangeLog
new file mode 100644 (file)
index 0000000..ecdc461
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1,13 @@
+v2.1.0 (2008-11-09):
+* Add example configuration file
+* Print better debugging information in case of error
+* Use subprocess module for commands, fixing usage with strange charater sets
+* Simplify package usage
+* Use exceptions for error handling
+* Add distutils setup
+
+v2.0.0 (2008-01-27):
+* Rewritten version to simplify maintence
+* Supercedes the original rarslave project
+
+# vim: set ft=changelog tw=80:
diff --git a/MANIFEST.in b/MANIFEST.in
new file mode 100644 (file)
index 0000000..b019705
--- /dev/null
@@ -0,0 +1,2 @@
+include rarslave.conf
+include ChangeLog
diff --git a/rarslave.conf b/rarslave.conf
new file mode 100644 (file)
index 0000000..ce946fb
--- /dev/null
@@ -0,0 +1,16 @@
+# This is an example configuration file
+#
+# If you wish to customize this file, copy it to
+# $HOME/.config/rarslave/rarslave.conf
+#
+# If rarslave does not find a configuration file, it
+# will use the built-in defaults, listed below
+
+[directories]
+start = ~/downloads/
+
+[options]
+verbosity = 0
+recursive = True
+interactive = False
+delete = True
index 5d9824d..001bf0f 100755 (executable)
@@ -43,7 +43,7 @@ import PAR2Set
 class RarslaveConfig(object):
 
     DEFAULT_CONFIG_FILE = PAR2Set.utils.absolutePath(
-        os.path.join('~', '.config', 'rarslave2', 'rarslave2.conf'))
+        os.path.join('~', '.config', 'rarslave', 'rarslave.conf'))
 
     def __init__(self, fileName=DEFAULT_CONFIG_FILE):