How to use the cellbrowser.__version__ function in cellbrowser

To help you get started, we’ve selected a few cellbrowser 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 maximilianh / cellBrowser / docs / conf.py View on Github external
import sys, os
print(os.getcwd())
os.system("ls")
sys.path.insert(0, "src/cbPyLib")
sys.path.insert(0, "../src/cbPyLib")
import cellbrowser

project = 'cellbrowser'
copyright = '2018, Maximilian Haeussler'
author = 'Maximilian Haeussler, Lucas Seninge, Nikolai Markov'

# The short X.Y version
#version = ''
# The full version, including alpha/beta/rc tags
#release = ''
version = cellbrowser.__version__.replace('.dirty', '')
release = version
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
pygments_style = 'sphinx'


# -- 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.viewcode',