From 7f6240bf11aeabe071f669beb5be0b0d3cffea99 Mon Sep 17 00:00:00 2001 From: James Polera Date: Fri, 1 Jun 2012 19:33:05 -0400 Subject: [PATCH] Updated .travis.yml, README and setup.py to reflect Python version support. --- .travis.yml | 1 + README.md | 4 ++++ nameparts.py | 2 +- setup.py | 7 ++++--- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index b8a3598..8bd939a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: python python: - 2.6 - 2.7 + - 3.2 install: python setup.py install diff --git a/README.md b/README.md index 2ede4d6..71fe4a5 100644 --- a/README.md +++ b/README.md @@ -28,11 +28,15 @@ You can use it like this: Installing ---------- From source: + python setup.py install via pip: + pip install nameparts +nameparts runs on CPython 2.6, 2.7, 3.2 and PyPy + License ------- nameparts is released under the BSD license. diff --git a/nameparts.py b/nameparts.py index c79e790..13e1e07 100644 --- a/nameparts.py +++ b/nameparts.py @@ -246,4 +246,4 @@ def get_name_as_dict(self): 'middle_name': self.middle_name, 'generation' : self.generation, 'suffix': self.suffix} - as_dict = property(get_name_as_dict) + as_dict = property(get_name_as_dict) \ No newline at end of file diff --git a/setup.py b/setup.py index c2de1cc..344f54a 100644 --- a/setup.py +++ b/setup.py @@ -21,24 +21,25 @@ def read(fname): settings.update( name='nameparts', - version='0.5.2', + version='0.5.3', description='Takes a full human name and splits it into individual parts', long_description=read('README.md'), author='James Polera', author_email='james@uncryptic.com', url='https://github.com/polera/nameparts', - keywords='name text processing', + keywords=['name', 'text', 'processing'], py_modules=['nameparts',], tests_require = ['unittest2',], test_suite = "name_tests", license='BSD', classifiers=( - 'Development Status :: 4 - Beta', + 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3.2', ) )