diff options
| author | Seth M Morton <seth.m.morton@gmail.com> | 2017-08-19 11:09:34 -0700 |
|---|---|---|
| committer | Seth M Morton <seth.m.morton@gmail.com> | 2017-08-19 11:09:34 -0700 |
| commit | 3696b188be5aa489fe222722dcd763222b3849f4 (patch) | |
| tree | 1875b922dc5a90f96616602597c72e756338a5f2 /docs | |
| parent | 11b7f8d624d43036c9471498e0a5b870485fef51 (diff) | |
| download | natsort-3696b188be5aa489fe222722dcd763222b3849f4.tar.gz | |
Point to new PyPI.org in documentation.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/source/examples.rst | 2 | ||||
| -rw-r--r-- | docs/source/intro.rst | 14 | ||||
| -rw-r--r-- | docs/source/locale_issues.rst | 6 |
3 files changed, 11 insertions, 11 deletions
diff --git a/docs/source/examples.rst b/docs/source/examples.rst index 5c97dff..0cf025b 100644 --- a/docs/source/examples.rst +++ b/docs/source/examples.rst @@ -114,7 +114,7 @@ the :func:`humansorted` function: You may find that if you do not explicitly set the locale your results may not be as you expect... I have found that it depends on the system you are on. -If you use `PyICU <https://pypi.python.org/pypi/PyICU>`_ (see below) then +If you use `PyICU <https://pypi.org/project/PyICU>`_ (see below) then you should not need to do this. .. _case_sort: diff --git a/docs/source/intro.rst b/docs/source/intro.rst index ebd77c3..09b632c 100644 --- a/docs/source/intro.rst +++ b/docs/source/intro.rst @@ -7,7 +7,7 @@ The :mod:`natsort` module Simple yet flexible natural sorting in Python. - Source Code: https://github.com/SethMMorton/natsort - - Downloads: https://pypi.python.org/pypi/natsort + - Downloads: https://pypi.org/project/natsort/ - Documentation: http://natsort.readthedocs.io/ - :ref:`Examples and Recipes <examples>` @@ -16,8 +16,8 @@ Simple yet flexible natural sorting in Python. - Optional Dependencies: - - `fastnumbers <https://pypi.python.org/pypi/fastnumbers>`_ >= 0.7.1 - - `PyICU <https://pypi.python.org/pypi/PyICU>`_ >= 1.0.0 + - `fastnumbers <https://pypi.org/project/fastnumbers>`_ >= 0.7.1 + - `PyICU <https://pypi.org/project/PyICU>`_ >= 1.0.0 :mod:`natsort` is a general utility for sorting lists *naturally*; the definition of "naturally" is not well-defined, but the most common definition is that numbers @@ -250,7 +250,7 @@ command line:: pip install natsort -You can also download the source from http://pypi.python.org/pypi/natsort, +You can also download the source from https://pypi.org/project/natsort/, or browse the git repository at https://github.com/SethMMorton/natsort. If you choose to install from source, you can unzip the source archive and @@ -269,13 +269,13 @@ If you want to build this documentation, enter:: :mod:`natsort` requires Python version 2.6 or greater or Python 3.2 or greater. The most efficient sorting can occur if you install the -`fastnumbers <https://pypi.python.org/pypi/fastnumbers>`_ package (it helps +`fastnumbers <https://pypi.org/project/fastnumbers>`_ package (it helps with the string to number conversions.) ``natsort`` will still run (efficiently) without the package, but if you need to squeeze out that extra juice it is recommended you include this as a dependency. ``natsort`` will not require (or -check) that `fastnumbers <https://pypi.python.org/pypi/fastnumbers>`_ is installed. +check) that `fastnumbers <https://pypi.org/project/fastnumbers>`_ is installed. -It is recommended that you install `PyICU <https://pypi.python.org/pypi/PyICU>`_ +It is recommended that you install `PyICU <https://pypi.org/project/PyICU>`_ if you wisht to sort in a locale-dependent manner, see :ref:`locale_issues` for an explanation why. diff --git a/docs/source/locale_issues.rst b/docs/source/locale_issues.rst index acd7fdc..4068ca1 100644 --- a/docs/source/locale_issues.rst +++ b/docs/source/locale_issues.rst @@ -45,11 +45,11 @@ locale and use ``ns.LOCALE`` then you should discard the old key. The `locale <https://docs.python.org/3.5/library/locale.html>`_ Module From the StdLib Has Issues ------------------------------------------------------------------------------------------------- -:mod:`natsort` will use `PyICU <https://pypi.python.org/pypi/PyICU>`_ for +:mod:`natsort` will use `PyICU <https://pypi.org/project/PyICU>`_ for :func:`~natsort.humansorted` or ``ns.LOCALE`` if it is installed. If not, it will fall back on the `locale <https://docs.python.org/3.5/library/locale.html>`_ library from the Python stdlib. If you do not have -`PyICU <https://pypi.python.org/pypi/PyICU>`_ installed, please keep the +`PyICU <https://pypi.org/project/PyICU>`_ installed, please keep the following known problems and issues in mind. .. note:: Remember, if you have `PyICU <https://pypi.python.org/pypi/PyICU>`_ @@ -81,7 +81,7 @@ It's not Python's fault, but the OS... the locale library for BSD-based systems - http://stackoverflow.com/questions/33459384/unicode-character-not-in-range-when-calling-locale-strxfrm - https://github.com/SethMMorton/natsort/issues/34 -Of course, installing `PyICU <https://pypi.python.org/pypi/PyICU>`_ fixes this, +Of course, installing `PyICU <https://pypi.org/project/PyICU>`_ fixes this, but if you don't want to or cannot install this there is some hope. 1. As of ``natsort`` version 4.0.0, ``natsort`` is configured |
