Correct PyPI package dependencies

* Remove unused install requires from ipapython
* Add missing requirements to ipaserver
* Correct dependencies for yubico otptoken
* Add explicit dependency on cffi for csrgen
* Python 2 uses python-ldap, Python 3 pyldap

https://pagure.io/freeipa/issue/6875

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
Christian Heimes
2017-04-10 10:00:23 +02:00
committed by Martin Basti
parent 38276d3473
commit 26ab51ddf4
6 changed files with 23 additions and 15 deletions

View File

@@ -55,10 +55,11 @@ if __name__ == '__main__':
"ipalib",
"ipaplatform",
"ipapython",
"jwcrypto",
"lxml",
"netaddr",
"pyasn1",
"pyldap",
"requests",
"six",
],
entry_points={
@@ -70,6 +71,8 @@ if __name__ == '__main__':
],
},
extras_require={
":python_version<'3'": ["python-ldap"],
":python_version>='3'": ["pyldap"],
# These packages are currently not available on PyPI.
"dcerpc": ["samba", "pysss", "pysss_nss_idmap"],
"hbactest": ["pyhbac"],