From 8b448e88a5d7a9ba4c3b16a458cae815647b09dc Mon Sep 17 00:00:00 2001 From: Scot Hacker Date: Tue, 2 Apr 2019 00:19:46 -0700 Subject: [PATCH] Update setup.py, bump to 2.3.2 --- README.md | 2 ++ setup.py | 47 +++++++++++++++++++++++++++++++---------------- 2 files changed, 33 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index dd490b9..388e341 100644 --- a/README.md +++ b/README.md @@ -312,6 +312,8 @@ django-todo no longer references a jQuery datepicker, but defaults to native htm ## Version History +**2.3.2** Update setup.py metadata + **2.3.1** Improve error handling for badly formatted or non-existent CSV uploads. **2.3.0** Implement mail tracking system. Added ability to batch-import tasks via CSV. Fixed task re-ordering if task deleted behind the scenes. diff --git a/setup.py b/setup.py index 7f0ed19..a816258 100755 --- a/setup.py +++ b/setup.py @@ -1,31 +1,46 @@ -#!/usr/bin/env python +# Based on setup.py master example at https://github.com/pypa/sampleproject/blob/master/setup.py -from setuptools import setup, find_packages +from io import open +from os import path -import todo as package +from setuptools import find_packages, setup + +here = path.abspath(path.dirname(__file__)) + +# Get the long description from the README file +with open(path.join(here, "README.md"), encoding="utf-8") as f: + long_description = f.read() setup( name="django-todo", - version=package.__version__, - description=package.__doc__.strip(), - author=package.__author__, - author_email=package.__email__, - url=package.__url__, - license=package.__license__, - packages=find_packages(), + version="2.3.2", + description="A multi-user, multi-group task management and assignment system for Django.", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/shacker/django-todo", + author="Scot Hacker", + # For a list of valid classifiers, see https://pypi.org/classifiers/ classifiers=[ "Development Status :: 5 - Production/Stable", - "Environment :: Web Environment", - "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Environment :: Web Environment", + "Framework :: Django", "Operating System :: OS Independent", - "Programming Language :: Python", - "Programming Language :: Python :: 3", + "Topic :: Office/Business :: Groupware", "Topic :: Office/Business :: Groupware", "Topic :: Software Development :: Bug Tracking", + "Topic :: Software Development :: Bug Tracking", ], - include_package_data=True, - zip_safe=False, + keywords="lists todo bug bugs tracking", + packages=find_packages(exclude=["contrib", "docs", "tests"]), + python_requires=">=3.5", install_requires=["unidecode"], + project_urls={ + "Demo Site": "http://django-todo.org", + "Bug Reports": "https://github.com/shacker/django-todo/issues", + "Source": "https://github.com/shacker/django-todo", + }, )