From 0eba1bf2c1d0761b66ae0589351b4a6bd7c94123 Mon Sep 17 00:00:00 2001 From: Israel Blancas Date: Tue, 29 Aug 2017 22:39:38 +0200 Subject: [PATCH] Add requirements.txt in the example (#644) --- example/README.rst | 4 +++- example/requirements.txt | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 example/requirements.txt diff --git a/example/README.rst b/example/README.rst index 8b7e94fb..388b73ba 100644 --- a/example/README.rst +++ b/example/README.rst @@ -7,6 +7,9 @@ To run this example make sure you have elasticsearch running on port 9200, install additional dependencies (on top of `elasticsearch-py`):: pip install python-dateutil GitPython +or + + pip install -r requirements.txt And now you can load the index (the index will be called `git`):: @@ -22,4 +25,3 @@ Look at the `queries.py` file for querying example and `load.py` on examples on loading data into elasticsearch. Both `load` and `queries` set up logging so in `/tmp/es_trace.log` you will have a transcript of the commands being run in the curl format. - diff --git a/example/requirements.txt b/example/requirements.txt new file mode 100644 index 00000000..64132fbc --- /dev/null +++ b/example/requirements.txt @@ -0,0 +1,2 @@ +GitPython +python-dateutil