Version 0.4.2 proper
parent
9b9838116d
commit
7d562511ba
|
|
@ -15,21 +15,6 @@ from showfields import ShowFieldContent, ShowFieldType, ShowFieldTypeAndContent
|
|||
from showfields import ShowFields, ShowFieldTypes, ShowFieldsAndTypes # import old names for compatibility
|
||||
|
||||
|
||||
"""
|
||||
See PEP 386 (https://www.python.org/dev/peps/pep-0386/)
|
||||
|
||||
Release logic:
|
||||
1. Remove "dev#" from current (this file, now).
|
||||
2. git commit
|
||||
3. git tag <version>
|
||||
4. push to pypi + push --tags to github
|
||||
5. bump the version, append ".dev0"
|
||||
6. git commit
|
||||
7. push to github
|
||||
"""
|
||||
__version__ = "0.4.1"
|
||||
|
||||
|
||||
# Monkey-patch Django < 1.5 to allow ContentTypes for proxy models.
|
||||
if django.VERSION[:2] < (1, 5):
|
||||
from django.contrib.contenttypes.models import ContentTypeManager
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
See PEP 386 (https://www.python.org/dev/peps/pep-0386/)
|
||||
|
||||
Release logic:
|
||||
1. Remove "dev#" from current (this file, now).
|
||||
1. Remove "dev#" from current (this file, now AND setup.py!).
|
||||
2. git commit
|
||||
3. git tag <version>
|
||||
4. push to pypi + push --tags to github
|
||||
|
|
|
|||
3
setup.py
3
setup.py
|
|
@ -1,9 +1,8 @@
|
|||
from setuptools import setup, find_packages
|
||||
import polymorphic
|
||||
|
||||
setup(
|
||||
name = 'django_polymorphic',
|
||||
version = polymorphic.__version__,
|
||||
version ="0.4.2", # You must ALSO bump polymorphic.__version__ !
|
||||
description = 'Seamless Polymorphic Inheritance for Django Models',
|
||||
url = 'https://github.com/chrisglass/django_polymorphic',
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue