Avoid setuptools_scm import at runtime for deployed package #3362
Labels
Area: Infrastructure
Pertains to project infrastructure (e.g. CI, linting)
Type: Enhancement
Enhancement to existing functionality
Milestone
What should we add?
I am the least sharp tool in the python toolbox, but I have been on a performance kick lately... I have found that importing
setuptools_scm
adds 100ms to runtime and 7 MB to memory consumption. Of course, removingsetuptools_scm
from the environment would effectively stop MetPy's import, but sometimes this may not be easy either...Anyway, I am going to PR an idea I have in this space. Feel free to burn my PR and this issue with fire. I certainly trust @dopplershift's judgement 10x than mine in this space!
Reference
No response
The text was updated successfully, but these errors were encountered: