Closed josh-hadley closed 3 years ago
Hey @josh-hadley just testing this, right now it's reporting the version as unknown
, would it be better to not have the _version.py
file gitignored?
No, it should be gitignored. You have to do at least pip install -e .
to have __version__
report something meaningful.
Ok. I'll look to see how to have ufoNormalizer -h
report something that makes sense.
I think changing https://github.com/unified-font-object/ufoNormalizer/blob/89e6d4dfbd55f1834aee6fd537c6a4145b792dc6/src/ufonormalizer/__init__.py#L19 to
from ._version import __version__
Should resolve this.
Turn
ufonormalizer.py
module into a package so that the_version.py
file gets written to the package directory instead of the top-levelsite-packages
. Closes #78