diff options
| author | Val Neekman <val@neekware.com> | 2018-03-25 09:16:14 -0400 |
|---|---|---|
| committer | Val Neekman <val@neekware.com> | 2018-03-25 09:16:14 -0400 |
| commit | d12d1fc3851628dba7b071d13d1e61ccbf636fa2 (patch) | |
| tree | e151395fb1f1b038215fd8abcfcf28c93a9405c1 /setup.py | |
| parent | 52e5c3652a2fb1297dd5997c71c38fa4d7f78f73 (diff) | |
| parent | 874fe140aa68ee1065e2170385f8c4ace5ac644a (diff) | |
| download | python-slugify-d12d1fc3851628dba7b071d13d1e61ccbf636fa2.tar.gz | |
support of text-unidecode
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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', |
