compression - Various compression algorithms (MSZIP, lzxpress)
-dnspython - Python module for working with DNS.
popt - Command-line option parsing library
replace - Provides replacements for standard (POSIX, C99) functions
not provided by the host platform.
NT_STATUS_NO_SUCH_DOMAIN
)
import samba
-samba.ensure_third_party_module("dns", "dnspython")
import dns.resolver
from samba.compat import text_type
import ldb
-samba.ensure_third_party_module("dns", "dnspython")
import dns.resolver
import dns.exception
create_named_txt )
from samba.dcerpc import security
-samba.ensure_third_party_module("dns", "dnspython")
import dns.zone, dns.rdatatype
__docformat__ = 'restructuredText'
# $THIRD_PARTY_DIR yet.
WORKDIR="`mktemp -d`"
-echo "Updating dnspython..."
-git clone git://git.samba.org/third_party/dnspython "$WORKDIR/dnspython"
-rm -rf "$WORKDIR/dnspython/.git"
-rsync -avz --delete "$WORKDIR/dnspython/" "$THIRD_PARTY_DIR/dnspython/"
-
echo "Updating pep8..."
git clone git://git.samba.org/third_party/pep8 "$WORKDIR/pep8"
rm -rf "$WORKDIR/pep8/.git"
# work out what python external libraries we need to install
external_pkgs = {
- "dns.resolver": "dnspython/dns",
"iso8601": "pyiso8601/iso8601",
}