From af14b398336f5e412d4f39363a94fac48146ddba Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Wed, 11 Nov 2015 14:20:49 +0800 Subject: [PATCH] update for releasing to PyPI --- README.rst | 3 +++ setup.py | 35 +++++++++++++++++++++++++++++------ 2 files changed, 32 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index 402501b..8b8764e 100644 --- a/README.rst +++ b/README.rst @@ -3,6 +3,9 @@ .. image:: https://travis-ci.org/lilydjwg/nvchecker.svg :alt: Build Status :target: https://travis-ci.org/lilydjwg/nvchecker +.. image:: https://badge.fury.io/py/nvchecker.png + :alt: PyPI version + :target: http://badge.fury.io/py/nvchecker Dependency ========== diff --git a/setup.py b/setup.py index 17cde57..982edcd 100755 --- a/setup.py +++ b/setup.py @@ -7,6 +7,16 @@ import nvchecker setup( name = 'nvchecker', version = nvchecker.__version__, + author = 'lilydjwg', + author_email = 'lilydjwg@gmail.com', + description = 'New version checker for software', + license = 'MIT', + keywords = 'new version build check', + url = 'https://github.com/lilydjwg/nvchecker', + long_description = open('README.rst', encoding='utf-8').read(), + platforms = 'any', + zip_safe = True, + packages = find_packages(exclude=["tests"]), install_requires = ['tornado>=4.1', 'setuptools'], tests_require = [ @@ -22,10 +32,23 @@ setup( }, package_data = {'nvchecker': ['source/vcs.sh']}, - author = 'lilydjwg', - author_email = 'lilydjwg@gmail.com', - description = 'New version checker for software', - license = 'MIT', - keywords = 'new version build check', - url = 'https://github.com/lilydjwg/nvchecker', + classifiers = [ + "Development Status :: 4 - Beta", + "Environment :: Console", + "Intended Audience :: Developers", + "Intended Audience :: System Administrators", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.4", + "Programming Language :: Python :: 3.5", + "Topic :: Internet", + "Topic :: Internet :: WWW/HTTP", + "Topic :: Software Development", + "Topic :: System :: Archiving :: Packaging", + "Topic :: System :: Software Distribution", + "Topic :: Utilities", + ], )