From 2192d4f95893b157cabfebcae5ee07554b1e4983 Mon Sep 17 00:00:00 2001 From: William Pietri Date: Sun, 10 Dec 2017 17:54:54 -0800 Subject: [PATCH 1/3] Fixing test and release nits. --- .travis.yml | 3 +-- appveyor.yml | 3 +-- setup.py | 8 ++++++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9965f42..982f977 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,6 @@ python: - "3.5" - "3.6" install: - - pip install pipenv - - pipenv install -d --system + - pip install -e . script: nosetests \ No newline at end of file diff --git a/appveyor.yml b/appveyor.yml index 5bc6772..9b9a029 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -11,8 +11,7 @@ install: # We need wheel installed to build wheels - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" - python --version - - pip install pipenv - - pipenv install -d --system + - pip install -e . build: off diff --git a/setup.py b/setup.py index 838dd8e..03afa6c 100644 --- a/setup.py +++ b/setup.py @@ -6,8 +6,12 @@ here = path.abspath(path.dirname(__file__)) # Get the long description from the README file -with open(path.join(here, 'README.rst'), encoding='utf-8') as f: - long_description = f.read() +long_description = '' +try: + with open(path.join(here, 'README.rst'), encoding='utf-8') as f: + long_description = f.read() +except FileNotFoundError: + print("can't find python README; skipping") setup( name='sucks', From e3f654cc3d1e651fd7c02fd7ea5a621234b33d10 Mon Sep 17 00:00:00 2001 From: William Pietri Date: Sun, 10 Dec 2017 17:57:05 -0800 Subject: [PATCH 2/3] Install dev requirements. --- .travis.yml | 2 +- appveyor.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 982f977..6a82e93 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,6 @@ python: - "3.5" - "3.6" install: - - pip install -e . + - pip install -e .[dev] script: nosetests \ No newline at end of file diff --git a/appveyor.yml b/appveyor.yml index 9b9a029..47aad33 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -11,7 +11,7 @@ install: # We need wheel installed to build wheels - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" - python --version - - pip install -e . + - pip install -e .[dev] build: off From 83da699bf6607df47f1e02323f0567dd03f40847 Mon Sep 17 00:00:00 2001 From: William Pietri Date: Sun, 10 Dec 2017 18:00:43 -0800 Subject: [PATCH 3/3] bumping version for release --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 03afa6c..443e77d 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ setup( name='sucks', - version='0.8.2', + version='0.8.3', description='a library for controlling certain robot vacuums', long_description=long_description,