Removed pkg_resources import from tiingo.api, VERSION comes from __version__

This commit is contained in:
Furechan
2024-12-24 23:36:14 -05:00
parent b0eec6d2d1
commit 9661fb2561

View File

@@ -18,6 +18,8 @@ from tiingo.exceptions import (
MissingRequiredArgumentError,
)
from tiingo.__version__ import __version__ as VERSION
try:
import pandas as pd
@@ -25,7 +27,6 @@ try:
except ImportError:
pandas_is_installed = False
from .__version__ import __version__ as VERSION
# These methods enable python 2 + 3 compatibility.
def get_zipfile_from_response(response):