File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ These examples are scripts that can be run independently to demonstrate the Rose
55
66Prerequisite: Either run ` pip install rosette_api ` or run ` python setup.py install ` in the python top level folder.
77
8+ Alternatively, you can run all the examples with the command line:
9+ ` find -maxdepth 1 -name "*.py" -exec tox -- {} --key api-key --url alternate_url \; `
10+
811You can now run your desired _ endpoint_ .py file to see it in action.
912For example, run ` python/examples/categories.py ` if you want to see the categories
1013functionality demonstrated.
Original file line number Diff line number Diff line change 1+ # Tox (http://tox.testrun.org/) is a tool for running tests
2+ # in multiple virtualenvs. This configuration file will run the
3+ # test suite on all supported python versions. To use it, "pip install tox"
4+ # and then run "tox" from this directory.
5+
6+ [tox]
7+ skipsdist = True
8+ envlist = py27
9+
10+ [testenv]
11+ commands =
12+ {envpython} {posargs}
13+ deps =
14+ rosette-api
You can’t perform that action at this time.
0 commit comments