Skip to content

Get version number w/o pkg_resources

This removes most of the usages of pkg_resources from the codebase, helping the goal of getting rid of that completely.

With this change, version number is now stored in package's top-level __init__.py as a global, instead of in setup.py.

Part of efforts to address #172 (closed) (and #171 (closed) probably) Together with !232 (closed) and !231 (merged), this provides a significant speed up in startup by eliminating all usages of pkg_resources for short-lived commands.

Edited by Gökçen Nurlu

Merge request reports