Replace __version__.py with __init__.py
Also fixes reporting in sentry.
This commit is contained in:
@@ -6,6 +6,8 @@ Copyright:
|
||||
This code and affiliated files are (C) by Bert Constantin and individual contributors.
|
||||
Please see LICENSE and AUTHORS for more information.
|
||||
"""
|
||||
# See PEP 440 (https://www.python.org/dev/peps/pep-0440/)
|
||||
__version__ = "0.8"
|
||||
|
||||
|
||||
# Monkey-patch Django < 1.5 to allow ContentTypes for proxy models.
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
See PEP 440 (https://www.python.org/dev/peps/pep-0440/)
|
||||
"""
|
||||
__version__ = "0.7.2"
|
||||
@@ -22,7 +22,7 @@ def find_version(*parts):
|
||||
|
||||
setup(
|
||||
name = 'django_polymorphic',
|
||||
version = find_version('polymorphic', '__version__.py'),
|
||||
version = find_version('polymorphic', '__init__.py'),
|
||||
license = 'BSD',
|
||||
|
||||
description = 'Seamless Polymorphic Inheritance for Django Models',
|
||||
|
||||
Reference in New Issue
Block a user