mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-16 22:20:24 +00:00
prep for release of 0.5.1.
This commit is contained in:
parent
e8c68f5c0c
commit
54c4bcf933
4 changed files with 30 additions and 4 deletions
10
HISTORY.rst
10
HISTORY.rst
|
|
@ -3,10 +3,18 @@ History
|
|||
|
||||
0.5.1 (2013-07-08)
|
||||
|
||||
* No longer pinning dependencies on specific versions
|
||||
* `Documentation on built-in views`_ shows context variables.
|
||||
* Added django-filter to dependency list
|
||||
* Problem with related_name resolved
|
||||
* Fixed the height of the change_form
|
||||
* FAQ added
|
||||
* Example app actually shows added content
|
||||
* Pull requests going forward are internationalized_
|
||||
* FAQ_ begun
|
||||
|
||||
.. _`internationalized`: https://django-admin2.readthedocs.org/en/latest/contributing.html#internationalize
|
||||
.. _`Documentation on built-in views`: https://django-admin2.readthedocs.org/en/latest/ref/built-in-views.html
|
||||
.. _faq: https://django-admin2.readthedocs.org/en/latest/faq.html
|
||||
|
||||
0.5.0 (2013-07-08)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import division, absolute_import, unicode_literals
|
||||
|
||||
__version__ = '0.5.0'
|
||||
__version__ = '0.5.1'
|
||||
|
||||
__author__ = 'Daniel Greenfeld & Contributors'
|
||||
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ copyright = u'2013, Daniel Greenfeld'
|
|||
# The short X.Y version.
|
||||
version = '0.5'
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = '0.5.0'
|
||||
release = '0.5.1'
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
|
|
|||
20
setup.py
20
setup.py
|
|
@ -5,6 +5,7 @@ from setuptools import setup
|
|||
import re
|
||||
import os
|
||||
import sys
|
||||
import string
|
||||
|
||||
|
||||
def get_author(package):
|
||||
|
|
@ -48,6 +49,23 @@ def get_package_data(package):
|
|||
return {package: filepaths}
|
||||
|
||||
|
||||
def remove_screenshots(text):
|
||||
"""
|
||||
Removes the section with screenshots since PyPI doesn't like them.
|
||||
"""
|
||||
outputting = True
|
||||
new_text = ""
|
||||
for line in text.splitlines():
|
||||
if line.startswith("Screenshots"):
|
||||
outputting = False
|
||||
continue
|
||||
if len(line) and line[0] in string.ascii_letters:
|
||||
outputting = True
|
||||
if outputting:
|
||||
new_text += line
|
||||
return new_text
|
||||
|
||||
|
||||
author = get_author('djadmin2')
|
||||
version = get_version('djadmin2')
|
||||
|
||||
|
|
@ -59,7 +77,7 @@ if sys.argv[-1] == 'publish':
|
|||
print(" git push --tags")
|
||||
sys.exit()
|
||||
|
||||
LONG_DESCRIPTION = open('README.rst').read()
|
||||
LONG_DESCRIPTION = remove_screenshots(open('README.rst').read())
|
||||
HISTORY = open('HISTORY.rst').read()
|
||||
|
||||
setup(
|
||||
|
|
|
|||
Loading…
Reference in a new issue