Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.3.0 #17

Merged
merged 15 commits into from
May 20, 2014
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Split requirements.txt for tests
  • Loading branch information
Stefan Oderbolz committed May 4, 2014
commit 18406e5cafc214405d9ebfcdd795841d5e5cc2b0
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ before_install:
install:
- if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install --use-mirrors unittest2; fi
- pip install -r requirements.txt
- pip install -r test-requirements.txt

script: ./build.sh

Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,22 @@ Install `osmapi` simply by using pip:
If you want to help with the development of `osmapi`, you should clone this repository and install the requirements:

pip install -r requirements.txt
pip install -r test-requirements.txt

After that, it is recommended to install the `flake8` pre-commit-hook:

flake8 --install-hook

### Tests

To run the tests use the following command:

nosetests --verbose

By using tox you can even run the tests against different versions of python (2.6, 2.7, 3.2 and 3.3):

tox

## Note

Scripted imports and automated edits should only be carried out by those with experience and understanding of the way the OpenStreetMap community creates maps, and only with careful **planning** and **consultation** with the local community.
Expand Down
4 changes: 0 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
# This file lists the dependencies of this extension.
# Install with a command like: pip install -r pip-requirements.txt
flake8==2.1.0
coveralls==0.4.1
mock==1.0.1
pypandoc==0.7.0
Unidecode==0.04.14
xmltodict==0.9.0
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-

from __future__ import unicode_literals
import codecs

version = __import__('osmapi').__version__
Expand Down
8 changes: 8 additions & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file lists the dependencies of this extension.
# Install with a command like: pip install -r pip-requirements.txt
flake8==2.1.0
nose==1.3.0
tox==1.7.1
coveralls==0.4.1
mock==1.0.1
xmltodict==0.9.0
7 changes: 3 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
[tox]
envlist = py26,py27,py33
envlist = py26,py27,py32,py33
[testenv]
commands=nosetests --verbose
deps =
nose
mock
Unidecode
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:py26]
deps =
unittest2
Expand Down