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
This commit is contained in:
Richard Jones 2016-08-27 08:21:28 +10:00
parent c372ed4151
commit e9b91068c0
3 changed files with 5 additions and 5 deletions

View File

@ -1,12 +1,12 @@
[metadata] [metadata]
name = XStatic-mdi name = XStatic-mdi
summary = mdi 1.4.57 (XStatic packaging standard) description = mdi 1.6.50 (XStatic packaging standard)
description-file = README.rst description-file = README.rst
maintainer = Diana Whitten maintainer = Diana Whitten
maintainer-email = hurgleburgler@gmail.com maintainer-email = hurgleburgler@gmail.com
home-page = http://materialdesignicons.com home-page = http://materialdesignicons.com
keywords = material design icons webfont mdi xstatic keywords = material design icons webfont mdi xstatic
license = (same as mdi) license = SIL OFL 1.1
zip_safe = False zip_safe = False
namespace_packages = namespace_packages =
xstatic xstatic

View File

@ -6,8 +6,8 @@ long_description = open('README.txt').read()
setup( setup(
name='XStatic-mdi', name='XStatic-mdi',
summary="""mdi 1.4.57 (XStatic packaging standard)""", description="""mdi 1.6.50 (XStatic packaging standard)""",
description=long_description, long_description=long_description,
maintainer="Diana Whitten", maintainer="Diana Whitten",
maintainer_email='hurgleburgler@gmail.com', maintainer_email='hurgleburgler@gmail.com',
use_scm_version=True, use_scm_version=True,

View File

@ -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 = '1.6.50' # version of the packaged files, please use the upstream
# version number # 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. # with fixes for xstatic stuff.
PACKAGE_VERSION = VERSION + '.' + BUILD # version used for PyPi PACKAGE_VERSION = VERSION + '.' + BUILD # version used for PyPi