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 /slugify | |
| parent | 1340320455f7201117ac3970c0facf5d1e0f8767 (diff) | |
| download | python-slugify-3.0.0.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 'slugify')
| -rw-r--r-- | slugify/__init__.py | 2 | ||||
| -rw-r--r-- | slugify/slugify.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/slugify/__init__.py b/slugify/__init__.py index 7358b99..c2e205b 100644 --- a/slugify/__init__.py +++ b/slugify/__init__.py @@ -3,4 +3,4 @@ from .slugify import * __author__ = 'Val Neekman @ Neekware Inc. [@vneekman]' __description__ = 'A Python slugify application that also handles Unicode' -__version__ = '2.0.1' +__version__ = '3.0.0' diff --git a/slugify/slugify.py b/slugify/slugify.py index 59e9672..fcd1d22 100644 --- a/slugify/slugify.py +++ b/slugify/slugify.py @@ -14,9 +14,9 @@ except ImportError: unichr = chr try: - import unidecode -except ImportError: import text_unidecode as unidecode +except ImportError: + import unidecode __all__ = ['slugify', 'smart_truncate'] |
