diff options
author | Seth M Morton <seth.m.morton@gmail.com> | 2018-05-11 22:40:31 -0700 |
---|---|---|
committer | Seth M Morton <seth.m.morton@gmail.com> | 2018-05-11 22:40:31 -0700 |
commit | cbe4b79c53a34160816b1e934c983dbddd46dd96 (patch) | |
tree | 87cf3d0cf3c9b1e0d83922b16debd1805d8afb0f | |
parent | 2834cca639158d9b7a265bec349051825f7c7262 (diff) | |
download | natsort-cbe4b79c53a34160816b1e934c983dbddd46dd96.tar.gz |
Moved optional dependencies to extras_require.
These can be installed with "pip install natsort[fast,icu]" notation,
instead of `pip install -roptional-requirements.txt natsort".
pathlib was removed as an extra because it would only kick in if
the user had pathlib installed already.
-rw-r--r-- | optional-requirements.txt | 6 | ||||
-rw-r--r-- | setup.cfg | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/optional-requirements.txt b/optional-requirements.txt deleted file mode 100644 index f421085..0000000 --- a/optional-requirements.txt +++ /dev/null @@ -1,6 +0,0 @@ -# These requirements are optional! -# Install only if you want. - -pathlib; python_version < '3.4' -fastnumbers >= 0.7.1; python_version > '2.6' -PyICU >= 1.0.0 @@ -41,6 +41,12 @@ exclude = test_* console_scripts = natsort = natsort.__main__:main +[options.extras_require] +fast = + fastnumbers >= 2.0.0; python_version > '2.6' +icu = + PyICU >= 1.0.0 + [bdist_wheel] universal = 1 |