Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/g/a/gammapy-HEAD/docs/conf.py   gammapy(Download)
# built documents.
 
import gammapy
# The short X.Y version.
version = gammapy.__version__.split('-', 1)[0]

src/g/a/gammapy-HEAD/setup.py   gammapy(Download)
from astropy.version_helpers import get_git_devstr, generate_version_py
 
import gammapy
 
# Set affiliated package-specific settings