jazzband / tablib

Python Module for Tabular Datasets in XLS, CSV, JSON, YAML, &c.
https://tablib.readthedocs.io/
MIT License
4.59k stars 590 forks source link

Stop using pkg_resources #472

Closed bluetech closed 4 years ago

bluetech commented 4 years ago

tablib imports pkg_resources in order to find its own version. Importing pkg_resources is very slow (100ms-250ms is common).

Avoid it by letting setuptools-scm generate a file with the version instead.