deb_nonversioneer_version
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Sat, 4 Nov 2017 00:02:42 +0000 (00:02 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Sat, 4 Nov 2017 00:02:42 +0000 (00:02 +0000)
Gbp-Pq: Name deb_nonversioneer_version

pandas/__init__.py

index 48ac9d173559da7e567280463e1eeeb95722a781..4b02059a8ce8a53cb7529cdff7423d5ec2bc8bbd 100644 (file)
@@ -80,11 +80,7 @@ tslib = _DeprecatedModule(deprmod='pandas.tslib',
                                  'NaTType': 'type(pandas.NaT)',
                                  'OutOfBoundsDatetime': 'pandas.errors.OutOfBoundsDatetime'})
 
-# use the closest tagged version if possible
-from ._version import get_versions
-v = get_versions()
-__version__ = v.get('closest-tag', v['version'])
-del get_versions, v
+from .__version import version as __version__
 
 # module level doc-string
 __doc__ = """