summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVal Neekman <val@neekware.com>2018-03-25 09:21:29 -0400
committerVal Neekman <val@neekware.com>2018-03-25 09:21:29 -0400
commitfd719a77041cbfff4f658e850fc861ec350fb9e7 (patch)
tree07db549de0236f93e09d086c0c9cba44fe52ea38
parentd12d1fc3851628dba7b071d13d1e61ccbf636fa2 (diff)
downloadpython-slugify-fd719a77041cbfff4f658e850fc861ec350fb9e7.tar.gz
grammer
-rw-r--r--.travis.yml6
-rwxr-xr-xsetup.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index a338f6f..b8a617f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,12 +11,12 @@ python:
- pypy
env:
- - SLUGIFY_USE_TEXT_UNIDECODE=yes
- - SLUGIFY_USE_UNIDECODE=yes # this is redundant but otherwise travis will only trigger one build type
+ - SLUGIFY_USES_TEXT_UNIDECODE=yes
+ - SLUGIFY_USES_UNIDECODE=yes # this is redundant but otherwise travis will only trigger one build type
install:
- pip install pip -U
- - if [[ -z "${SLUGIFY_USE_TEXT_UNIDECODE}" ]]; then pip install -q -r requirements.txt; else pip install -q -r alt_requirements.txt; fi
+ - if [[ -z "${SLUGIFY_USES_TEXT_UNIDECODE}" ]]; then pip install -q -r requirements.txt; else pip install -q -r alt_requirements.txt; fi
- pip install -e .
- pip install pycodestyle
- pip install coveralls
diff --git a/setup.py b/setup.py
index 230c93a..af831a8 100755
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ url = 'https://github.com/un33k/python-slugify'
author = 'Val Neekman'
author_email = 'info@neekware.com'
license = 'MIT'
-if "SLUGIFY_USE_TEXT_UNIDECODE" in os.environ:
+if "SLUGIFY_USES_TEXT_UNIDECODE" in os.environ:
install_requires = ['text-unidecode>=1.2']
else:
install_requires = ['Unidecode>=0.04.16']