Skip to content

Commit 6c508a7

Browse files
committed
auto download of pandoc in setup.py
1 parent a963591 commit 6c508a7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ matrix:
1818
- python: 'pypy'
1919
- python: 'pypy3'
2020

21-
addons:
22-
apt:
23-
packages:
24-
- pandoc
2521

2622
cache: pip
2723

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@
1414

1515
import versioneer
1616
import pypandoc
17+
from pypandoc.pandoc_download import download_pandoc
1718

1819
try:
20+
download_pandoc()
21+
1922
long_description = pypandoc.convert(source='README.md', to='rst', format='markdown_github')
2023
long_description = long_description.replace("\r","")
2124
except OSError as e:

0 commit comments

Comments
 (0)