X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=manifold%2Futil%2Foptions.py;h=8c177258833c36a8a232c78d73b522322383f4da;hb=b3fe5beb2d4af31d1ebd7c99e6f16118428afb4c;hp=d6bd95890f1406206878b98576ee56be07ab7206;hpb=9a486e42cde8ce57e6e12111423c49780c72ff1a;p=unfold.git diff --git a/manifold/util/options.py b/manifold/util/options.py index d6bd9589..8c177258 100644 --- a/manifold/util/options.py +++ b/manifold/util/options.py @@ -1,11 +1,17 @@ -import sys, optparse, cfgparse +import sys import os.path +import optparse +# xxx warning : this is not taken care of by the debian packaging +# cfgparse seems to be available by pip only (on debian, that is) +# there seems to be another package that might be used to do similar stuff +# python-configglue - Glues together optparse.OptionParser and ConfigParser.ConfigParser +# additionally argumentparser would probably be the way to go, notwithstanding +import cfgparse from manifold.util.singleton import Singleton # http://docs.python.org/dev/library/argparse.html#upgrading-optparse-code - class Options(object): __metaclass__ = Singleton