summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorVal Neekman <val@neekware.com>2018-03-25 09:16:14 -0400
committerVal Neekman <val@neekware.com>2018-03-25 09:16:14 -0400
commitd12d1fc3851628dba7b071d13d1e61ccbf636fa2 (patch)
treee151395fb1f1b038215fd8abcfcf28c93a9405c1 /setup.py
parent52e5c3652a2fb1297dd5997c71c38fa4d7f78f73 (diff)
parent874fe140aa68ee1065e2170385f8c4ace5ac644a (diff)
downloadpython-slugify-d12d1fc3851628dba7b071d13d1e61ccbf636fa2.tar.gz
support of text-unidecode
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index abfaa3f..230c93a 100755
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,10 @@ url = 'https://github.com/un33k/python-slugify'
author = 'Val Neekman'
author_email = 'info@neekware.com'
license = 'MIT'
-install_requires = ['Unidecode>=0.04.16']
+if "SLUGIFY_USE_TEXT_UNIDECODE" in os.environ:
+ install_requires = ['text-unidecode>=1.2']
+else:
+ install_requires = ['Unidecode>=0.04.16']
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',