aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
-rw-r--r--README.md14
-rw-r--r--requirements.txt4
3 files changed, 19 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 579a63f1..ae242849 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,7 +19,7 @@ notifications:
dist: trusty
sudo: true
install:
- - "pip install six nose nose-cov pep8"
+ - "pip install -r requirements.txt"
- "python setup.py install"
script:
- "pep8 sos"
diff --git a/README.md b/README.md
index 4fb764df..16e91c94 100644
--- a/README.md
+++ b/README.md
@@ -42,6 +42,20 @@ patches and commit messages.
User and API [documentation][6] is automatically generated using [Sphinx][7]
and [Read the Docs][8].
+To generate HTML documents locally, install dependencies using
+
+```
+pip install -r requirements.txt
+```
+
+and run
+
+```
+make
+```
+
+Please run `make test` before sending a [pull request][0]
+
### Wiki
* [How to write a plugin][1]
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 00000000..3a072cd4
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,4 @@
+pep8>=1.7.0
+nose>=1.3.7
+coverage>=4.0.3
+Sphinx>=1.3.5