fix PyPI long_description display

This commit is contained in:
lilydjwg 2018-11-19 15:08:06 +08:00
parent a6c3b49cc2
commit 1adc38099a
3 changed files with 6 additions and 2 deletions

View File

@ -412,7 +412,7 @@ strip-release
Strip the release part.
Check Debian Linux official packages
----------------------------------
------------------------------------
This enables you to track the update of `Debian Linux official packages <https://packages.debian.org>`_, without needing of apt and an updated local APT database.
debianpkg

View File

@ -1,4 +1,4 @@
# MIT licensed
# Copyright (c) 2013-2018 lilydjwg <lilydjwg@gmail.com>, et al.
__version__ = '1.2'
__version__ = '1.2.7'

View File

@ -3,6 +3,9 @@
from setuptools import setup, find_packages
import nvchecker
# The complex upload command:
# rm -rf dist && python setup.py sdist && twine check dist/* && twine upload -s dist/*
setup(
name = 'nvchecker',
version = nvchecker.__version__,
@ -13,6 +16,7 @@ setup(
keywords = 'new version build check',
url = 'https://github.com/lilydjwg/nvchecker',
long_description = open('README.rst', encoding='utf-8').read(),
long_description_content_type = 'text/x-rst',
platforms = 'any',
zip_safe = False,