Slim down dependencies

* Make jinja2 an optional dependency and csrgen an optional plugin
* Make otptoken_yubikey an optional plugin

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
Christian Heimes
2017-03-29 11:20:21 +02:00
committed by Martin Basti
parent 8983ce53e3
commit bd5a5012d2
4 changed files with 19 additions and 9 deletions

View File

@@ -50,11 +50,9 @@ if __name__ == '__main__':
],
},
install_requires=[
"cffi",
"cryptography",
"ipalib",
"ipapython",
"jinja2",
"qrcode",
"six",
],
@@ -66,6 +64,7 @@ if __name__ == '__main__':
extras_require={
"install": ["ipaplatform"],
"otptoken_yubikey": ["python-yubico", "pyusb"],
"csrgen": ["cffi", "jinja2"],
},
zip_safe=False,
)