Commit b126db2c authored by Ian Lee's avatar Ian Lee

Simplify requirements.txt by just having the one that installs everything

needed by the developer (base requirements + testing tools +
documentation tools)

Add documentation building to the tox and travis test scripts.
parent 367caf20
......@@ -16,7 +16,7 @@ env:
# command to install dependencies, e.g. pip install -r requirements.txt
install:
- pip install -r requirements/test.txt
- pip install -r requirements.txt
- if $LXML == true; then pip install lxml; fi
- if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install unittest2; fi
......@@ -24,6 +24,7 @@ install:
script:
- pep8 --exclude test_main.py fastkml
- coverage run --source=fastkml setup.py test
- cd docs && make html
after_success:
coveralls
......
......@@ -15,6 +15,7 @@ Geometries are handled as pygeoif_ or shapely_ (if installed) objects.
.. _shapely: http://pypi.python.org/pypi/Shapely
.. _lxml: https://pypi.python.org/pypi/lxml
.. _dateutils: https://pypi.python.org/pypi/dateutils
.. _pip: https://pypi.python.org/pypi/pip
fastkml is continually tested with *Travis CI*
......@@ -49,6 +50,11 @@ Optional
* lxml_
* shapely_
You can install all of the requirements for working with fastkml by using pip_:
pip install -r requirements.txt
Documentation
=============
......
# Base package requirements
pygeoif
python-dateutil
# Testing Requirements
pytest
pep8
coveralls
tox>=1.8
# Documentation Requirements
Sphinx
sphinx-rtd-theme
pygeoif
python-dateutil
-r common.txt
pytest
pep8
coveralls
......@@ -3,7 +3,7 @@ envlist =
{py26,py27,py32,py33,py34},
{py26,py27,py32,py33,py34}-{shapely,lxml},
{py26,py27,py32,py33,py34}-shapely-lxml,
pep8
pep8,docs
[testenv]
deps =
......@@ -20,3 +20,11 @@ deps =
pep8
commands =
pep8 --exclude test_main.py fastkml
[testenv:docs]
changedir = docs
deps =
Sphinx
sphinx-rtd-theme
commands =
make html
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment