diff options
| author | Val Neekman <un33kvu@gmail.com> | 2019-03-03 12:40:56 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-03 12:40:56 -0500 |
| commit | b8be7d69119dcceb9a3e0ce64a509415737190ac (patch) | |
| tree | 33d4a7f7bc921c33ccd521951881e2efb89dea26 /setup.py | |
| parent | 1340320455f7201117ac3970c0facf5d1e0f8767 (diff) | |
| download | python-slugify-b8be7d69119dcceb9a3e0ce64a509415737190ac.tar.gz | |
Promote text-unidecode to primary decoding api (#73)3.0.0
* enable raw re pattern
* conditional text_unidecode install
* update readme, changelog, manifest
* update ci
* readme
* drop test for py 2.6 and 3.3
* clean up readme
* readme
* add support user-specific replacements (#66)
thx
* clean up, up version
* add text-unidecode option as extra
* Upgrade Unidecode, add text-unidecode as extra option (#71)
* Add replacements option (#67)
* add text-unidecode option as extra
* remove req.txt files
* Optional Extra Requirements (#72)
* Add replacements option (#67)
* Upgrade Unidecode, add text-unidecode as extra option (#71)
* Add replacements option (#67)
* add text-unidecode option as extra
* remove req.txt files
* use text-unidecode as primary decoding package
* add dev reqs
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -7,12 +7,6 @@ import os import sys import codecs -install_requires = [] -try: - import text_unidecode -except ImportError: - install_requires.append('Unidecode>=0.04.16') - name = 'python-slugify' package = 'slugify' description = 'A Python Slugify application that handles Unicode' @@ -20,6 +14,8 @@ url = 'https://github.com/un33k/python-slugify' author = 'Val Neekman' author_email = 'info@neekware.com' license = 'MIT' +install_requires = ['text-unidecode==1.2'] +extras_require = {'unidecode': ['Unidecode==1.0.23']} classifiers = [ 'Development Status :: 5 - Production/Stable', @@ -70,6 +66,7 @@ setup( author_email=author_email, packages=find_packages(exclude=EXCLUDE_FROM_PACKAGES), install_requires=install_requires, + extras_require=extras_require, classifiers=classifiers, entry_points={'console_scripts': ['slugify=slugify.slugify:main']}, ) |
