fix: Fix install (included missing VERSION)

Refs #637
This commit is contained in:
Serg Tereshchenko 2022-05-15 08:36:47 +03:00
parent 84c535516f
commit ab66e8d2f7
4 changed files with 4 additions and 3 deletions

View file

@ -4,7 +4,7 @@
"repository": "django-modeltranslation",
"bumpFiles": [
{
"filename": "modeltranslation/VERSION",
"filename": "VERSION",
"type": "plain-text"
}
]

View file

@ -1,3 +1,4 @@
include *.txt *.rst
include *.txt *.rst VERSION
prune modeltranslation/tests
recursive-include docs *.rst conf.py Makefile make.bat
recursive-include modeltranslation/static *

View file

@ -8,4 +8,4 @@ try:
except ImportError:
pass
__version__ = (Path(__file__).parent / "VERSION").open().read().strip()
__version__ = (Path(__file__).parent.parent / "VERSION").read_text().strip()