https://github.com/GPflow/GPflow
Revision 7275533aa0e9a2a263405972d3b81963452d917a authored by elvijs on 10 February 2020, 08:50:03 UTC, committed by GitHub on 10 February 2020, 08:50:02 UTC
This way, any consumers using MyPy will be able to get type hints from GPflow
1 parent f30d42c
Raw File
Tip revision: 7275533aa0e9a2a263405972d3b81963452d917a authored by elvijs on 10 February 2020, 08:50:03 UTC
Ship type information as specified by PEP 561 (#1251)
Tip revision: 7275533
versions.py
import pkg_resources

try:
    __version__ = str(pkg_resources.get_distribution('gpflow').parsed_version)
except pkg_resources.DistributionNotFound:
    __version__ = "develop"
back to top