setup.py: generate a VERSION file (bis)

This commit is contained in:
Benjamin Dauvergne 2016-09-22 11:31:59 +02:00
parent 97a119ea40
commit f4dae5ff74
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ def get_version():
setup(
name = "django-jsonfield",
version = open(os.path.join(os.path.dirname(__file__), 'jsonfield', 'VERSION')).read().strip(),
version = get_version(),
description = "JSONField for django models",
long_description = open("README.rst").read(),
url = "http://bitbucket.org/schinckel/django-jsonfield/",