From e9b91068c09d5295e9b9420a436b3cf69593c413 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Sat, 27 Aug 2016 08:21:28 +1000 Subject: [PATCH] Fix description metadata There doesn't seem to be a "summary" option, but "description" and "long_description" are different. Update the metadata to avoid warnings about the unknown "summary" and so that when the release announce script asks for the package description it gets the one line version instead of the longer one. Had to bump the build version since there's already a tag for 1.6.50.1 Change-Id: I242418b4a94e57d926bafa0d537d3558d861c686 --- setup.cfg | 4 ++-- setup.py | 4 ++-- xstatic/pkg/mdi/__init__.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.cfg b/setup.cfg index 26c5365..ac5bdc9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,12 +1,12 @@ [metadata] name = XStatic-mdi -summary = mdi 1.4.57 (XStatic packaging standard) +description = mdi 1.6.50 (XStatic packaging standard) description-file = README.rst maintainer = Diana Whitten maintainer-email = hurgleburgler@gmail.com home-page = http://materialdesignicons.com keywords = material design icons webfont mdi xstatic -license = (same as mdi) +license = SIL OFL 1.1 zip_safe = False namespace_packages = xstatic diff --git a/setup.py b/setup.py index 8be42d1..3242f41 100644 --- a/setup.py +++ b/setup.py @@ -6,8 +6,8 @@ long_description = open('README.txt').read() setup( name='XStatic-mdi', - summary="""mdi 1.4.57 (XStatic packaging standard)""", - description=long_description, + description="""mdi 1.6.50 (XStatic packaging standard)""", + long_description=long_description, maintainer="Diana Whitten", maintainer_email='hurgleburgler@gmail.com', use_scm_version=True, diff --git a/xstatic/pkg/mdi/__init__.py b/xstatic/pkg/mdi/__init__.py index 38dca77..1dc3276 100644 --- a/xstatic/pkg/mdi/__init__.py +++ b/xstatic/pkg/mdi/__init__.py @@ -17,7 +17,7 @@ NAME = __name__.split('.')[-1] # package name (e.g. 'foo' or 'foo_bar') VERSION = '1.6.50' # version of the packaged files, please use the upstream # version number -BUILD = '1' # our package build number, so we can release new builds +BUILD = '2' # our package build number, so we can release new builds # with fixes for xstatic stuff. PACKAGE_VERSION = VERSION + '.' + BUILD # version used for PyPi