Christian Heimes
26ab51ddf4
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 >
2017-04-26 12:31:11 +02:00
Jan Cholasta
2b33230f66
setup, pylint, spec file: drop python-nss dependency
...
Remove the unused python-nss dependency.
Reviewed-By: Christian Heimes <cheimes@redhat.com >
2017-03-31 12:20:35 +02:00
Christian Heimes
f5bf5466ed
Use Custodia 0.3.1 features
...
* Use sd-notify in ipa-custodia.service
* Introduce libexec/ipa/ipa-custodia script. It comes with correct
default setting for IPA's config file. The new file also makes it
simpler to run IPA's custodia instance with its own SELinux context.
* ipapython no longer depends on custodia
The patch addresses three issues:
* https://bugzilla.redhat.com/show_bug.cgi?id=1430247
Forward compatibility with Custodia 0.3 in Fedora rawhide
* https://pagure.io/freeipa/issue/5825
Use sd-notify
* https://pagure.io/freeipa/issue/6788
Prepare for separate SELinux context
Signed-off-by: Christian Heimes <cheimes@redhat.com >
Reviewed-By: Martin Basti <mbasti@redhat.com >
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
2017-03-28 15:02:06 +02:00
Christian Heimes
ed9645b2ac
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 >
2016-11-30 13:32:30 +01:00
Jan Cholasta
528012fe8a
ipapython: remove hard dependency on ipaplatform
...
Use hard-coded paths to certutil, pk12util and openssl in certdb if
ipaplatform is not available.
Hard-coded the path to setpasswd in ipautil.run() doc string.
Remove ipaplatform dependency from ipapython's setup.py and add ipapython
dependency to ipaplatform's setup.py.
https://fedorahosted.org/freeipa/ticket/6474
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com >
2016-11-29 14:50:51 +01:00
Jan Cholasta
a1f260d021
ipapython: move dnssec, p11helper and secrets to ipaserver
...
The dnssec and secrets subpackages and the p11helper module depend on
ipaplatform.
Move them to ipaserver as they are used only on the server.
https://fedorahosted.org/freeipa/ticket/6474
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com >
2016-11-29 14:50:51 +01:00
Christian Heimes
c93bfda594
ipapython and ipatest no longer require lxml
...
Commits 64af88fe and 9fbd29cc have removed dependency on lxml.
Signed-off-by: Christian Heimes <cheimes@redhat.com >
Reviewed-By: Martin Basti <mbasti@redhat.com >
2016-11-17 11:29:28 +01:00
Christian Heimes
9102fb3b02
Register entry points of Custodia plugins
...
With setuptools in place FreeIPA is able to register its Custodia
plugins. Custodia 0.1 ignores the plugins directives. Custodia 0.2 uses
the entry points to discover plugins.
https://fedorahosted.org/freeipa/ticket/6492
Signed-off-by: Christian Heimes <cheimes@redhat.com >
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com >
2016-11-16 23:47:38 +01:00
Christian Heimes
8346e1b067
Add install requirements to Python packages
...
https://fedorahosted.org/freeipa/ticket/6468
Signed-off-by: Christian Heimes <cheimes@redhat.com >
Reviewed-By: Martin Basti <mbasti@redhat.com >
2016-11-16 22:58:39 +01:00
Christian Heimes
91920e7cb4
Add __name__ == __main__ guards to setup.pys
...
Signed-off-by: Christian Heimes <cheimes@redhat.com >
Reviewed-By: Petr Spacek <pspacek@redhat.com >
Reviewed-By: Martin Basti <mbasti@redhat.com >
Reviewed-By: Lenka Doudova <ldoudova@redhat.com >
2016-10-25 18:11:31 +02:00
Christian Heimes
4cd83fb51c
Port all setup.py to setuptools
...
All setup.py files are now using setuptools through a common file
ipasetup.py. The file is auto-generated and contain all common
settings.
Signed-off-by: Christian Heimes <cheimes@redhat.com >
Reviewed-By: Petr Spacek <pspacek@redhat.com >
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
Reviewed-By: Martin Basti <mbasti@redhat.com >
2016-10-20 18:43:37 +02:00