gecko-dev/tools/docs/Pipfile
Andrew Halberstadt b765d8e8aa Bug 1517238 - [docs] Fix AttributeError: 'module' object has no attribute 'DirEntry' when running |mach doc|, r=davehunt
This was happening because one of the modules sphinx generates apidocs for
started depending on scandir and our in-tree vendored copy of scandir doesn't
have the C module built. I'm still not sure why this is failing though (scandir
is supposed to fall-back to ctypes if the C module doesn't exist).

Either way, adding scandir to tools/docs/Pipfile works around the problem.

Differential Revision: https://phabricator.services.mozilla.com/D15571

--HG--
extra : moz-landing-system : lando
2019-01-02 15:31:26 +00:00

20 lines
339 B
TOML

[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
backports-abc = "*"
boto3 = "*"
livereload = "*"
recommonmark = "*"
scandir = "*"
singledispatch = "*"
sphinx = "*"
# Upgrading to 2.5 causes an intermittent in the Doc task
sphinx-js = "==2.1"
sphinx-rtd-theme = "*"
[requires]
python_version = "2.7"