How to use the randomgen.__version__ function in randomgen

To help you get started, we’ve selected a few randomgen examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github numpy / numpy / _randomgen / doc / source / conf.py View on Github external
import randomgen

# -- Project information -----------------------------------------------------

project = 'RandomGen'
copyright = '2018, Kevin Sheppard'
author = 'Kevin Sheppard'

# The short X.Y version.

version = randomgen.__version__
if '+' in version:
    version = version.split('+')
    version = ''.join((version[0], ' (+', version[1].split('.')[0], ')'))
# The full version, including alpha/beta/rc tags.
release = randomgen.__version__

# -- General configuration ---------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
#
# needs_sphinx = '1.0'

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
    'sphinx.ext.napoleon',
    'sphinx.ext.autodoc',
    'sphinx.ext.extlinks',
    'sphinx.ext.todo',
    'sphinx.ext.doctest',
github numpy / numpy / _randomgen / doc / source / conf.py View on Github external
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import guzzle_sphinx_theme
import randomgen

# -- Project information -----------------------------------------------------

project = 'RandomGen'
copyright = '2018, Kevin Sheppard'
author = 'Kevin Sheppard'

# The short X.Y version.

version = randomgen.__version__
if '+' in version:
    version = version.split('+')
    version = ''.join((version[0], ' (+', version[1].split('.')[0], ')'))
# The full version, including alpha/beta/rc tags.
release = randomgen.__version__

# -- General configuration ---------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
#
# needs_sphinx = '1.0'

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
github bashtage / randomgen / doc / source / conf.py View on Github external
import randomgen

# -- Project information -----------------------------------------------------

project = "RandomGen"
copyright = "2018, Kevin Sheppard"
author = "Kevin Sheppard"

# The short X.Y version.

version = randomgen.__version__
if "+" in version:
    version = version.split("+")
    version = "".join((version[0], " (+", version[1].split(".")[0], ")"))
# The full version, including alpha/beta/rc tags.
release = randomgen.__version__

# -- General configuration ---------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
#
# needs_sphinx = '1.0'

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
    "sphinx.ext.napoleon",
    "sphinx.ext.autodoc",
    "sphinx.ext.extlinks",
    "sphinx.ext.todo",
    "sphinx.ext.doctest",
github bashtage / randomgen / doc / source / conf.py View on Github external
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import randomgen

# -- Project information -----------------------------------------------------

project = "RandomGen"
copyright = "2018, Kevin Sheppard"
author = "Kevin Sheppard"

# The short X.Y version.

version = randomgen.__version__
if "+" in version:
    version = version.split("+")
    version = "".join((version[0], " (+", version[1].split(".")[0], ")"))
# The full version, including alpha/beta/rc tags.
release = randomgen.__version__

# -- General configuration ---------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
#
# needs_sphinx = '1.0'

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [