diff --git a/CHANGES.txt b/CHANGES.txt index 10f982dd2e0f2d164cc1634fb077260e7fa50925..2e86626d0e2553b25bb8d9291570922abb3dd124 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 ff598fcbbee5c63a184a9762b68685afc4eaf649..61f2905c27af849c44c2823d8f4b94d2b681e778 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 1049c284cd5a4d455eb4496683e9acc9551a5186..5fcab2a6b51a7f9422a8164077318ec15647abc3 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 1f1b8db85f9a4cb44d9a688e0319b14d8a8be6f7..59ed7b16ac2b8b8871d2a46bc601316c642c374f 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 2fe9057653aef048ea86aa9bf178cd4c20f5f18d..a869798c532947e6af8d21a258794e78136936fa 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