Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

different way of checking version

updated travis yml
  • Loading branch information...
commit bb36a814a0b4656d0ce64e0295fad7ec737913f6 1 parent 01dbca9
@eriky authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  .travis.yml
  2. +2 −2 setup.py
View
2  .travis.yml
@@ -11,7 +11,7 @@ python:
install:
- if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then pip install chardet2; fi
- - pip install requests simplejson
+ - pip install requests simplejson argparse
- python setup.py install
script: python test_esclient.py
View
4 setup.py
@@ -8,7 +8,7 @@
install_requires = ['requests']
-if not (version_info.major == 2 and version_info.minor >=7):
+if version_info < (2,7):
install_requires.append('argparse')
setup(name='ESClient',
@@ -32,4 +32,4 @@
'Topic :: Internet :: WWW/HTTP :: Indexing/Search'
],
long_description = long_description
- )
+ )
Please sign in to comment.
Something went wrong with that request. Please try again.