From 39d2243b11254af31c440d360d8fab3b26b50c16 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 22 Jan 2017 16:41:49 -0800 Subject: [PATCH] setup.py: use extras_require for expiringdict and passlib --- setup.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d7d782d..c85dade 100644 --- a/setup.py +++ b/setup.py @@ -75,7 +75,16 @@ setup( ], keywords='IRC services relay', - install_requires=['pyyaml', 'ircmatch', 'passlib'], + install_requires=['pyyaml', 'ircmatch'], + + extras_require={ + 'password hashing': ['passlib'], + 'servprotect': ['expringdict'], + }, + + dependency_links=[ + "vcs+https://github.com/mailgun/expiringdict.git@v1.3.4#egg=expiringdict-1.3.4" + ], # Folders (packages of code) packages=['pylinkirc', 'pylinkirc.protocols', 'pylinkirc.plugins', 'pylinkirc.coremods'],