| 1 |
# Copyright (C) 2007 Red Hat |
| 2 |
# see file 'COPYING' for use and warranty information |
| 3 |
# |
| 4 |
# This program is free software; you can redistribute it and/or modify |
| 5 |
# it under the terms of the GNU General Public License as published by |
| 6 |
# the Free Software Foundation, either version 3 of the License, or |
| 7 |
# (at your option) any later version. |
| 8 |
# |
| 9 |
# This program is distributed in the hope that it will be useful, |
| 10 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 |
# GNU General Public License for more details. |
| 13 |
# |
| 14 |
# You should have received a copy of the GNU General Public License |
| 15 |
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 |
# |
| 17 |
|
| 18 |
"""FreeIPA python support library |
| 19 |
|
| 20 |
FreeIPA is a server for identity, policy, and audit. |
| 21 |
""" |
| 22 |
from os.path import abspath, dirname |
| 23 |
import sys |
| 24 |
|
| 25 |
if __name__ == '__main__': |
| 26 |
# include ../ for ipasetup.py |
| 27 |
sys.path.append(dirname(dirname(abspath(__file__)))) |
| 28 |
from ipasetup import ipasetup # noqa: E402 |
| 29 |
|
| 30 |
ipasetup( |
| 31 |
name="ipapython", |
| 32 |
doc=__doc__, |
| 33 |
package_dir={'ipapython': ''}, |
| 34 |
packages=[ |
| 35 |
"ipapython", |
| 36 |
"ipapython.install" |
| 37 |
], |
| 38 |
install_requires=[ |
| 39 |
"cffi", |
| 40 |
"cryptography", |
| 41 |
"dnspython", |
| 42 |
"gssapi", |
| 43 |
# "ipalib", # circular dependency |
| 44 |
"ipaplatform", |
| 45 |
"netaddr", |
| 46 |
"six", |
| 47 |
], |
| 48 |
extras_require={ |
| 49 |
"ldap": ["python-ldap"], # ipapython.ipaldap |
| 50 |
# CheckedIPAddress.get_matching_interface |
| 51 |
"ifaddr": ["ifaddr"], |
| 52 |
}, |
| 53 |
) |