From 963e8e71806c67a6aa57ab7d661fed8959d30b94 Mon Sep 17 00:00:00 2001 From: James Lu Date: Tue, 6 Jun 2017 13:06:58 -0700 Subject: [PATCH 1/3] travis: rm skip_upload_docs rule This doesn't seem to do anything useful? --- .travis.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index cc875b7..b9693be 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,7 +27,5 @@ deploy: condition: $(python3 -c 'import re,os; print(bool(re.match(r"^(\d+\.){2,}\d+$", os.environ.get("TRAVIS_TAG", ""))))') == "True" python: '3.6' - skip_upload_docs: true - notifications: email: false From 805aa52f59ad9700ac06d5ed4d9fd9804a4327e8 Mon Sep 17 00:00:00 2001 From: James Lu Date: Tue, 6 Jun 2017 13:21:20 -0700 Subject: [PATCH 2/3] travis: Move to Ubuntu 14.04; it has a newer pandoc version which better supports GitHub flavoured markdown --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index b9693be..00745b1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,6 @@ +dist: trusty +sudo: false + language: python python: - '3.4' From f8a4f003f11ac2ebacef039b1a718efdd0cd9473 Mon Sep 17 00:00:00 2001 From: James Lu Date: Tue, 6 Jun 2017 13:38:40 -0700 Subject: [PATCH 3/3] setup.py: explicitly parse README.md as markdown_github --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index fb0e357..1aac2e8 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ with open('__init__.py', 'w') as f: # Convert Markdown to RST for PyPI try: import pypandoc - long_description = pypandoc.convert('README.md', 'rst') + long_description = pypandoc.convert('README.md', 'rst', format='markdown_github') except ImportError: print('WARNING: PyPandoc not available; skipping writing long description.') long_description = None