Skip to content

Commit

Permalink
Merge branch 'release/2.1.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
chdemko committed Oct 13, 2019
2 parents 9130f65 + e75ebbb commit 3b85d4c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
import urllib
import shutil
import sys
import appdirs
import requests

from pkg_resources import get_distribution

Expand Down Expand Up @@ -173,6 +171,9 @@ def _latest(match, versions, latest):


def _directory(collection, version):
# pylint: disable=import-outside-toplevel
import appdirs

dirs = appdirs.AppDirs(
os.path.join(
"pandoc_latex_tip",
Expand All @@ -188,6 +189,9 @@ def _directory(collection, version):


def _versions(url, message):
# pylint: disable=import-outside-toplevel
import requests

try:
return requests.get(url).json()
except ValueError:
Expand Down

0 comments on commit 3b85d4c

Please sign in to comment.