# coding=utf-8
import os

try:
    from _version import version
except ImportError:
    from propane_distribution import update_version_py

    update_version_py(version_path=os.path.dirname(__file__))
    try:
        # noinspection PyUnresolvedReferences
        # noinspection PyProtectedMember
        from wopi_validator._version import version
    except ImportError:
        raise

__author__ = 'Tyler Butler <*****@*****.**>'
Beispiel #2
0
# coding=utf-8
import os

try:
    from _version import version
except ImportError:
    print "Got an import error"
    from propane_distribution import update_version_py

    update_version_py(version_path=os.path.dirname(__file__))
    try:
        from engineer._version import version
    except ImportError:
        raise

__author__ = 'Tyler Butler <*****@*****.**>'
Beispiel #3
0
# The master toctree document.
master_doc = 'index'

# General information about the project.
project = APP_NAME
copyright = u'2011-2013, %s' % AUTHOR_NAME

# 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.

# force a version update
from propane_distribution import update_version_py

update_version_py(version_path=os.path.join(os.path.dirname(__file__), '..'))

import engineer
# The short X.Y version.
version = engineer.version.minor_string
# The full version, including alpha/beta/rc tags.
release = engineer.version.patch_string

print "Got engineer version %s" % version

# 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:
Beispiel #4
0
#source_encoding = 'utf-8-sig'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = APP_NAME
copyright = u'2011, %s' % AUTHOR_NAME

# 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.

# force a version update
from propane_distribution import update_version_py
update_version_py(version_path=os.path.join(os.path.dirname(__file__), '..'))

import engineer
# The short X.Y version.
version = engineer.version
# The full version, including alpha/beta/rc tags.
release = engineer.version

print "Got engineer version %s" % version

# 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: