From b20eee0c1fb7ab791b05571b026ff29228c9ebf8 Mon Sep 17 00:00:00 2001 From: Justin Poliey Date: Sun, 29 Apr 2012 21:24:17 -0400 Subject: [PATCH] dry up the package metadata --- setup.py | 8 +++----- taxon/__init__.py | 4 +++- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index f916578..6fc669d 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- - from setuptools import setup, find_packages -from taxon import __version__ - +from taxon import __version__, __author_name__, __author_email__ with open('README.rst') as f: readme = f.read() @@ -15,8 +13,8 @@ version=__version__, description='Redis-backed tagged data store', long_description=readme, - author='Justin Poliey', - author_email='justin@getglue.com', + author=__author_name__, + author_email=__author_email__, url='https://github.com/jdp/taxon', keywords=['redis', 'key-value', 'store', 'tag', 'taxonomy'], packages=find_packages(exclude=('tests', 'docs')), diff --git a/taxon/__init__.py b/taxon/__init__.py index 020807a..73efeb7 100644 --- a/taxon/__init__.py +++ b/taxon/__init__.py @@ -1,6 +1,8 @@ from .core import Taxon -__author__ = "Justin Poliey " +__author_name__ = "Justin Poliey" +__author_email__ = "justin@getglue.com" +__author__ = "%s <%s>" % (__author_name__, __author_email__) __license__ = "MIT" __version__ = '0.2.0'