From b0ac08c9293b0bc623e7b28759929fab85dbba54 Mon Sep 17 00:00:00 2001 From: Greg Albrecht <gba@gregalbrecht.com> Date: Fri, 29 Mar 2013 20:54:40 -0700 Subject: [PATCH] Cleanup before publishing 1.0.0 --- .gitignore | 1 + Makefile | 2 +- README.rst | 4 +--- aprs/__init__.py | 2 +- aprs/aprs.py | 4 ++++ aprs/util.py | 4 ++++ requirements.txt | 3 +++ setup.py | 4 ++-- tests/context.py | 2 +- tests/test_aprs.py | 5 +++++ tests/test_util.py | 4 ++++ 11 files changed, 27 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index d2999d5..c63e8f2 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ output.xml flake8.log nosetests.xml pylint.log +.idea/ diff --git a/Makefile b/Makefile index 3eaccce..c9d5620 100644 --- a/Makefile +++ b/Makefile @@ -44,4 +44,4 @@ lint: pylint -f parseable -i y -r y aprs/*.py tests/*.py *.py | \ tee pylint.log -test: install_requirements lint clonedigger flake8 nosetests +test: install_requirements lint clonedigger flake8 nosetests \ No newline at end of file diff --git a/README.rst b/README.rst index 08f637a..de6f501 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,5 @@ Python Module for APRS-IS. -2013-01-17 WIP - .. image:: https://travis-ci.org/ampledata/aprs.png?branch=develop :target: https://travis-ci.org/ampledata/aprs @@ -11,7 +9,7 @@ Github: https://github.com/ampledata/aprs Author ====== -Greg Albrecht <mailto:gba@gregalbrecht.com> +Greg Albrecht W2GMD <gba@gregalbrecht.com> Copyright ========= diff --git a/aprs/__init__.py b/aprs/__init__.py index 8fcaab9..aaa6172 100644 --- a/aprs/__init__.py +++ b/aprs/__init__.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -__author__ = 'Greg Albrecht <gba@gregalbrecht.com>' +__author__ = 'Greg Albrecht W2GMD <gba@gregalbrecht.com>' __copyright__ = 'Copyright 2013 Greg Albrecht' __license__ = 'Creative Commons Attribution 3.0 Unported License' diff --git a/aprs/aprs.py b/aprs/aprs.py index 8ffefc6..08630e8 100755 --- a/aprs/aprs.py +++ b/aprs/aprs.py @@ -1,5 +1,9 @@ #!/usr/bin/env python +__author__ = 'Greg Albrecht W2GMD <gba@gregalbrecht.com>' +__copyright__ = 'Copyright 2013 Greg Albrecht' +__license__ = 'Creative Commons Attribution 3.0 Unported License' + import logging import logging.handlers diff --git a/aprs/util.py b/aprs/util.py index ebf0c30..b75ba6e 100755 --- a/aprs/util.py +++ b/aprs/util.py @@ -1,5 +1,9 @@ #!/usr/bin/env python +__author__ = 'Greg Albrecht W2GMD <gba@gregalbrecht.com>' +__copyright__ = 'Copyright 2013 Greg Albrecht' +__license__ = 'Creative Commons Attribution 3.0 Unported License' + import decimaldegrees diff --git a/requirements.txt b/requirements.txt index e69de29..1e95fdf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -0,0 +1,3 @@ +httpretty +nose +requests \ No newline at end of file diff --git a/setup.py b/setup.py index 1bb19bd..133b28a 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -__author__ = 'Greg Albrecht <gba@gregalbrecht.com>' +__author__ = 'Greg Albrecht W2GMD <gba@gregalbrecht.com>' __copyright__ = 'Copyright 2013 Greg Albrecht' __license__ = 'Creative Commons Attribution 3.0 Unported License' @@ -11,7 +11,7 @@ import setuptools setuptools.setup( version='1.0.0', name='aprs', - description='Python Bindings for aprs-is API.', + description='Python Bindings for APRS-IS API.', author='Greg Albrecht', author_email='gba@gregalbrecht.com', license='Creative Commons Attribution 3.0 Unported License', diff --git a/tests/context.py b/tests/context.py index 922205b..da83fba 100644 --- a/tests/context.py +++ b/tests/context.py @@ -4,7 +4,7 @@ Based on http://kennethreitz.com/repository-structure-and-python.html """ -__author__ = 'Greg Albrecht <gba@gregalbrecht.com>' +__author__ = 'Greg Albrecht W2GMD <gba@gregalbrecht.com>' __copyright__ = 'Copyright 2013 Greg Albrecht' __license__ = 'Creative Commons Attribution 3.0 Unported License' diff --git a/tests/test_aprs.py b/tests/test_aprs.py index a569173..1337c61 100644 --- a/tests/test_aprs.py +++ b/tests/test_aprs.py @@ -1,5 +1,9 @@ #!/usr/bin/env python +__author__ = 'Greg Albrecht W2GMD <gba@gregalbrecht.com>' +__copyright__ = 'Copyright 2013 Greg Albrecht' +__license__ = 'Creative Commons Attribution 3.0 Unported License' + import random import unittest @@ -93,6 +97,7 @@ class APRSTest(unittest.TestCase): self.assertFalse(result) + @unittest.skip('Test only works with real server.') def test_more(self): aprs_conn = aprs.APRS( user=self.real_callsign, diff --git a/tests/test_util.py b/tests/test_util.py index 7a59f76..e01cf79 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -1,5 +1,9 @@ #!/usr/bin/env python +__author__ = 'Greg Albrecht W2GMD <gba@gregalbrecht.com>' +__copyright__ = 'Copyright 2013 Greg Albrecht' +__license__ = 'Creative Commons Attribution 3.0 Unported License' + import unittest import logging -- GitLab