mirror of
https://github.com/hydrosquall/tiingo-python.git
synced 2025-12-19 12:44:20 +01:00
Removed pkg_resources import from tiingo.api, VERSION comes from __version__
This commit is contained in:
@@ -26,8 +26,7 @@ try:
|
|||||||
except ImportError:
|
except ImportError:
|
||||||
pandas_is_installed = False
|
pandas_is_installed = False
|
||||||
|
|
||||||
VERSION = pkg_resources.get_distribution("tiingo").version
|
from .__version__ import __version__ as VERSION
|
||||||
|
|
||||||
|
|
||||||
# These methods enable python 2 + 3 compatibility.
|
# These methods enable python 2 + 3 compatibility.
|
||||||
def get_zipfile_from_response(response):
|
def get_zipfile_from_response(response):
|
||||||
|
|||||||
Reference in New Issue
Block a user