Esempio n. 1
0
 def __init__(self, default_config_files=None, **kwargs):
     super(GlanceConfigOpts, self).__init__(
         project="glance",
         version="%%prog %s" % version.version_string(),
         default_config_files=default_config_files,
         **kwargs
     )
Esempio n. 2
0
 def __init__(self, default_config_files=None, **kwargs):
     super(GlanceConfigOpts, self).__init__(
         project='glance',
         version='%%prog %s' % version.version_string(),
         default_config_files=default_config_files,
         **kwargs)
     self.default_paste_file = self.prog + '-paste.ini'
Esempio n. 3
0
 def __init__(self, default_config_files=None, **kwargs):
     super(GlanceConfigOpts,
           self).__init__(project='glance',
                          version='%%prog %s' % version.version_string(),
                          default_config_files=default_config_files,
                          **kwargs)
     self.register_opts(common_opts)
     self.default_paste_file = self.prog + '-paste.ini'
Esempio n. 4
0
def parse_args(args=None, usage=None, default_config_files=None):
    return CONF(
        args=args,
        project="glance",
        version="%%prog %s" % version.version_string(),
        usage=usage,
        default_config_files=default_config_files,
    )
Esempio n. 5
0
# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'Glance'
copyright = u'2010-present, OpenStack, LLC.'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
from glance import version as glance_version
# The full version, including alpha/beta/rc tags.
release = glance_version.version_string()
# The short X.Y version.
version = glance_version.canonical_version_string()

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'

# List of documents that shouldn't be included in the build.
#unused_docs = []
Esempio n. 6
0
# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'Glance'
copyright = u'2010-present, OpenStack, LLC.'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
from glance import version as glance_version
# The full version, including alpha/beta/rc tags.
release = glance_version.version_string()
# The short X.Y version.
version = glance_version.canonical_version_string()

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'

# List of documents that shouldn't be included in the build.
#unused_docs = []
Esempio n. 7
0
 def __init__(self, default_config_files=None, **kwargs):
     super(GlanceConfigOpts, self).__init__(
         project='glance',
         version='%%prog %s' % version.version_string(),
         default_config_files=default_config_files,
         **kwargs)