From 115b86439da9f7280bfe656ea3e91cb6789c3d9f Mon Sep 17 00:00:00 2001
From: Stephan Witz <switz@nrao.edu>
Date: Thu, 10 May 2018 12:28:08 -0600
Subject: [PATCH] Preparing for release of 0.2.1: fixed a couple of unit tests,
 dropped support of Python3.3 and added support of Python3.7.

---
 CHANGES.txt        | 1 +
 pycapo/_version.py | 2 +-
 setup.py           | 2 +-
 tests/test_path.py | 5 +++--
 tox.ini            | 2 +-
 5 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/CHANGES.txt b/CHANGES.txt
index 10f982d..2e86626 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,3 +1,4 @@
 
+0.2.1 ... dropped support for Python 3.3, added support for Python 3.7
 0.1.1 ... minor tweaks to prepare for pushing to pypi, no functional modifications
 0.1.0 ... initial version
diff --git a/pycapo/_version.py b/pycapo/_version.py
index ff598fc..61f2905 100644
--- a/pycapo/_version.py
+++ b/pycapo/_version.py
@@ -1,2 +1,2 @@
 """ Version information for this package, don't put anything else here. """
-___version___ = '0.2.0'
+___version___ = '0.2.1'
diff --git a/setup.py b/setup.py
index 1049c28..5fcab2a 100644
--- a/setup.py
+++ b/setup.py
@@ -35,10 +35,10 @@ setup(name=NAME,
           'Programming Language :: Python :: 2',
           'Programming Language :: Python :: 2.7',
           'Programming Language :: Python :: 3',
-          'Programming Language :: Python :: 3.3',
           'Programming Language :: Python :: 3.4',
           'Programming Language :: Python :: 3.5',
           'Programming Language :: Python :: 3.6',
+          'Programming Language :: Python :: 3.7',
       ],
       packages=find_packages(),
       include_package_data=True,
diff --git a/tests/test_path.py b/tests/test_path.py
index 1f1b8db..59ed7b1 100644
--- a/tests/test_path.py
+++ b/tests/test_path.py
@@ -1,6 +1,7 @@
 # -*- coding: utf-8 -*-
 
 from pycapo import CapoConfig, DEFAULT_CAPO_PATH
+import os
 
 
 # Tests for specifying the path when you instantiate a CapoConfig.
@@ -13,7 +14,7 @@ def test_missing_path_argument(monkeypatch):
     """
     monkeypatch.delenv('CAPO_PATH', raising=False)
     config = CapoConfig(profile='test')
-    assert config.getpath() == DEFAULT_CAPO_PATH
+    assert config.getpath() == DEFAULT_CAPO_PATH + ':' + os.path.join(os.path.expanduser('~'), '.capo')
 
 
 def test_path_precedence(monkeypatch):
@@ -23,4 +24,4 @@ def test_path_precedence(monkeypatch):
     """
     monkeypatch.setenv('CAPO_PATH', '/foo')
     config = CapoConfig(profile='test', path='/bar')
-    assert config.getpath() == '/bar'
+    assert config.getpath() == '/bar' + ':' + os.path.join(os.path.expanduser('~'), '.capo')
diff --git a/tox.ini b/tox.ini
index 2fe9057..a869798 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,7 +2,7 @@
 # https://tox.readthedocs.io/en/latest/
 
 [tox]
-envlist = py27,py33,py34,py35,py36
+envlist = py27,py34,py35,py36,py37
 
 [testenv]
 commands = python setup.py test
\ No newline at end of file
-- 
GitLab