Replace __version__.py with __init__.py
Also fixes reporting in sentry.fix_request_path_info
parent
5191b6c130
commit
9e2c11beb8
|
|
@ -6,6 +6,8 @@ Copyright:
|
||||||
This code and affiliated files are (C) by Bert Constantin and individual contributors.
|
This code and affiliated files are (C) by Bert Constantin and individual contributors.
|
||||||
Please see LICENSE and AUTHORS for more information.
|
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.
|
# 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"
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -22,7 +22,7 @@ def find_version(*parts):
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name = 'django_polymorphic',
|
name = 'django_polymorphic',
|
||||||
version = find_version('polymorphic', '__version__.py'),
|
version = find_version('polymorphic', '__init__.py'),
|
||||||
license = 'BSD',
|
license = 'BSD',
|
||||||
|
|
||||||
description = 'Seamless Polymorphic Inheritance for Django Models',
|
description = 'Seamless Polymorphic Inheritance for Django Models',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue