Skip to content

Commit

Permalink
Fix Pandoc installation.
Browse files Browse the repository at this point in the history
  • Loading branch information
hkpeprah committed Sep 24, 2021
1 parent 39a67c6 commit 968fa37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Expand Up @@ -15,6 +15,7 @@ jobs:
python-version: '3.x'
- name: Install Dependencies
run: |
sudo apt-get install pandoc
python -m pip install --upgrade pip
pip install pypandoc
pip install -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -221,7 +221,7 @@ def long_description():

try:
import pypandoc
return pypandoc.convert(readme_path, 'rst')
return pypandoc.convert_file(readme_path, 'rst')
except (IOError, ImportError):
pass

Expand Down

0 comments on commit 968fa37

Please sign in to comment.