summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-01-17 14:59:44 -0500
committerNed Batchelder <ned@nedbatchelder.com>2015-01-17 14:59:44 -0500
commitbd6779fe14f753e9062d20235d595762e7afd8b2 (patch)
tree5bb2f01a0520509dedc55ca849142a8076bd6134
parente5d90dcdabb5e9d59f6957ce92b72e36b27c3265 (diff)
downloadpython-coveragepy-bd6779fe14f753e9062d20235d595762e7afd8b2.tar.gz
Split the requirements file so we don't try to install pyenchant for running tests.
-rw-r--r--Makefile9
-rw-r--r--doc/requirements.txt5
-rw-r--r--requirements.txt5
3 files changed, 12 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 6afb718..94af534 100644
--- a/Makefile
+++ b/Makefile
@@ -80,17 +80,20 @@ SPHINXBUILD = sphinx-build
SPHINXOPTS = -a -E doc
WEBHOME = ~/web/stellated/pages/code/coverage
-px:
+docreqs:
+ pip install -r doc/requirements.txt
+
+px: docreqs
$(SPHINXBUILD) -b px $(SPHINXOPTS) doc/_build/px
rm doc/_build/px/search.px
python doc/_ext/px_cleaner.py doc/_build/px/*.px
-dochtml:
+dochtml: docreqs
$(SPHINXBUILD) -b html $(SPHINXOPTS) doc/_build/html
@echo
@echo "Build finished. The HTML pages are in doc/_build/html."
-docspell:
+docspell: docreqs
$(SPHINXBUILD) -b spelling $(SPHINXOPTS) doc/_spell
publish: px
diff --git a/doc/requirements.txt b/doc/requirements.txt
new file mode 100644
index 0000000..3ae4921
--- /dev/null
+++ b/doc/requirements.txt
@@ -0,0 +1,5 @@
+# PyPI requirements for building documentation for coverage.py
+pyenchant
+sphinx
+sphinxcontrib-napoleon
+sphinxcontrib-spelling
diff --git a/requirements.txt b/requirements.txt
index 93a51d0..5b19f9c 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,8 +1,5 @@
+# PyPI requirements for running tests for coverage.py
nose
mock
-pyenchant
pylint
-sphinx
-sphinxcontrib-napoleon
-sphinxcontrib-spelling
tox >= 1.8