]> git.rkrishnan.org Git - tahoe-lafs/zfec.git/blobdiff - zfec/zfec/cmdline_zunfec.py
stick a .gitignore file
[tahoe-lafs/zfec.git] / zfec / zfec / cmdline_zunfec.py
index 7c9f3f621c328888b6316317e8e737447963326a..8fc0c040dfd7a325ff2a6fe1cba0b093852aab0a 100755 (executable)
@@ -3,16 +3,13 @@
 # zfec -- a fast C implementation of Reed-Solomon erasure coding with
 # command-line, C, and Python interfaces
 
-# The zfec and zunfec command-line tools require Python 2.5 for relative imports.
-
 import os, sys
 
-from util import argparse
+import argparse
 import filefec
 
 from zfec import __version__ as libversion
-from util.version import Version
-__version__ = Version("1.0.0a1-0-STABLE")
+__version__ = libversion
 
 def main():
     if '-V' in sys.argv or '--version' in sys.argv:
@@ -65,19 +62,5 @@ def main():
 # Author: Zooko Wilcox-O'Hearn
 # 
 # This file is part of zfec.
-# 
-# This program is free software; you can redistribute it and/or modify it
-# under the terms of the GNU General Public License as published by the Free
-# Software Foundation; either version 2 of the License, or (at your option)
-# any later version, with the added permission that, if you become obligated
-# to release a derived work under this licence (as per section 2.b of the
-# GPL), you may delay the fulfillment of this obligation for up to 12 months.
 #
-# If you would like to inquire about a commercial relationship with Allmydata,
-# Inc., please contact partnerships@allmydata.com and visit
-# http://allmydata.com/.
-# 
-# This program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
+# See README.rst for licensing information.