Remove dependency on pkg_resources
from setuptools
#1536
Merged
pkg_resources
from setuptools
#1536