<reponame>d-mo/tlslite-0.38-DH_ANON
#!/usr/bin/env python

import sys
from distutils.core import setup, Extension

if sys.version_info < (2, 2):
    raise AssertionError("Python 2.2 or later required")

if sys.platform == "win32":
    ext = Extension("tlslite.utils.win32prng",
                    sources=["tlslite/utils/win32prng.c"],
                    libraries=["advapi32"])
    exts = [ext]
else:
    exts = None

setup(name="tlslite",
      version="0.3.9",
      author="<NAME>",
      author_email="<EMAIL>",
      url="http://trevp.net/tlslite/",
      description="tlslite implements SSL and TLS with SRP, shared-keys, cryptoID, or X.509 authentication.",
      license="public domain",
      scripts=["scripts/tls.py", "scripts/tlsdb.py"],
      packages=["tlslite", "tlslite.utils", "tlslite.integration"],
      ext_modules=exts)
