Adjustments for setup requirements

* Fix some typos, missing or surplus dependencies.
* Remove setup requirement on wheel since it triggers download.

ipatests is now installable. Tests need further changes to be runable.

https://fedorahosted.org/freeipa/ticket/6468

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
Christian Heimes 2016-11-17 16:43:17 +01:00 committed by Martin Babinsky
parent 38cc40ddb5
commit ed9645b2ac
7 changed files with 17 additions and 22 deletions

View File

@ -48,13 +48,12 @@ if __name__ == '__main__':
"ipalib", "ipalib",
"ipapython", "ipapython",
"python-nss", "python-nss",
"python-yubico",
"pyusb",
"qrcode", "qrcode",
"six", "six",
], ],
setup_requires=[ extras_require={
"wheel",
],
extra_requires={
"ipaclient.install": ["ipaplatform"], "ipaclient.install": ["ipaplatform"],
"otptoken_yubikey": ["yubico", "usb"] "otptoken_yubikey": ["yubico", "usb"]
} }

View File

@ -40,6 +40,7 @@ if __name__ == '__main__':
"ipapython", "ipapython",
"netaddr", "netaddr",
"pyasn1", "pyasn1",
"pyasn1-modules",
"python-nss", "python-nss",
"six", "six",
], ],

View File

@ -47,7 +47,4 @@ if __name__ == '__main__':
"python-nss", "python-nss",
"six", "six",
], ],
setup_requires=[
"wheel",
],
) )

View File

@ -51,10 +51,8 @@ if __name__ == '__main__':
"requests", "requests",
"six", "six",
], ],
setup_requires=[
"wheel",
],
extras_require={ extras_require={
":python_version<'3'": ["enum34"], ":python_version<'3'": ["enum34"],
"install": ["dbus-python"], # for certmonger
}, },
) )

View File

@ -56,9 +56,9 @@ if __name__ == '__main__':
"ipapython", "ipapython",
"lxml", "lxml",
"netaddr", "netaddr",
"memcache",
"pyasn1", "pyasn1",
"pyldap", "pyldap",
"python-memcached",
"python-nss", "python-nss",
"six", "six",
# not available on PyPI # not available on PyPI

View File

@ -62,10 +62,10 @@ PACKAGE_VERSION = {
'ipaserver': 'ipaserver == @VERSION@', 'ipaserver': 'ipaserver == @VERSION@',
'kdcproxy': 'kdcproxy >= 0.3', 'kdcproxy': 'kdcproxy >= 0.3',
'netifaces': 'netifaces >= 0.10.4', 'netifaces': 'netifaces >= 0.10.4',
'python-nss': 'python-nss >= 0.16',
'pyldap': 'pyldap >= 2.4.15', 'pyldap': 'pyldap >= 2.4.15',
'python-nss': 'python-nss >= 0.16',
'python-yubico': 'python-yubico >= 1.2.3',
'qrcode': 'qrcode >= 5.0', 'qrcode': 'qrcode >= 5.0',
# 'yubico': 'yubico >= 1.2.3',
} }

View File

@ -59,24 +59,24 @@ if __name__ == '__main__':
}, },
install_requires=[ install_requires=[
"cryptography", "cryptography",
"dbus-python",
"dnspython", "dnspython",
"dogtag-pki", "gssapi",
"ipaclient", "ipaclient",
"ipalib", "ipalib",
"ipaplatform", "ipaplatform",
"ipapython", "ipapython",
"ipaserver",
"nose", "nose",
"polib",
"pyldap", "pyldap",
"pytest", "pytest",
"python-gssapi", "pytest_multihost",
"python-nss", "python-nss",
"selenium",
"six", "six",
"yaml",
],
setup_requires=[
"wheel",
], ],
extras_require={
"integration": ["dbus-python", "pyyaml", "ipaserver"],
"ipaserver": ["ipaserver"],
"webui": ["selenium", "pyyaml", "ipaserver"],
"xmlrpc": ["ipaserver"],
}
) )