Skip to content
Snippets Groups Projects
Commit e170f607 authored by Donald Stufft's avatar Donald Stufft
Browse files

Make it so the docs build without an install

parent f6113248
Branches
Tags
No related merge requests found
...@@ -21,6 +21,7 @@ env: ...@@ -21,6 +21,7 @@ env:
- TOXENV=py32 SODIUM_INSTALL=system CC=clang - TOXENV=py32 SODIUM_INSTALL=system CC=clang
- TOXENV=py33 SODIUM_INSTALL=system CC=clang - TOXENV=py33 SODIUM_INSTALL=system CC=clang
- TOXENV=pypy SODIUM_INSTALL=system CC=clang - TOXENV=pypy SODIUM_INSTALL=system CC=clang
- docs
install: install:
# Add the PyPy repository # Add the PyPy repository
......
...@@ -194,6 +194,9 @@ class Mock(object): ...@@ -194,6 +194,9 @@ class Mock(object):
else: else:
return Mock() return Mock()
def __floordiv__(self, other):
return Mock()
MOCK_MODULES = [ MOCK_MODULES = [
"cffi", "cffi.vengine_cpy", "cffi.vengine_gen", "cffi.verifier", "cffi", "cffi.vengine_cpy", "cffi.vengine_gen", "cffi.verifier",
] ]
......
...@@ -60,7 +60,7 @@ Reference ...@@ -60,7 +60,7 @@ Reference
.. autoclass:: nacl.signing.SignedMessage .. autoclass:: nacl.signing.SignedMessage
:members: :members:
.. autoclass:: nacl.signing.BadSignatureError .. autoclass:: nacl.exceptions.BadSignatureError
:members: :members:
......
...@@ -13,7 +13,6 @@ commands = ...@@ -13,7 +13,6 @@ commands =
[testenv:docs] [testenv:docs]
deps = deps =
sphinx sphinx
cffi
basepython = python2.7 basepython = python2.7
commands = commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment