csteinmetz1 / auraloss

Collection of audio-focused loss functions in PyTorch
Apache License 2.0
695 stars 66 forks source link

Include `__version__` in package #59

Open sdatkinson opened 1 year ago

sdatkinson commented 1 year ago

Currently,

from auraloss import __version__

isn't supported.

It'd be great to have __version__ defined so that depending code can detect which version is installed and react accordingly (e.g. when APIs change).

neural-amp-modeler implements this with a _version.py (to keep DRY); I'd be happy to PR something similar if you're interested.

Cheers!

csteinmetz1 commented 1 year ago

Thanks for raising this @sdatkinson. Sounds like a good idea. Happy to accept a PR on this.