Fix import error in mac_platform_backend.py
[chromium-blink-merge.git] / third_party / tlslite / setup.py
blobe3417c4ea496680a4df478daa58d8f760a10fdff
1 #!/usr/bin/env python
3 import sys
4 from distutils.core import setup, Extension
6 if sys.version_info < (2, 2):
7 raise AssertionError("Python 2.2 or later required")
9 if sys.platform == "win32":
10 ext = Extension("tlslite.utils.win32prng",
11 sources=["tlslite/utils/win32prng.c"],
12 libraries=["advapi32"])
13 exts = [ext]
14 else:
15 exts = None
17 setup(name="tlslite",
18 version="0.3.8",
19 author="Trevor Perrin",
20 author_email="trevp@trevp.net",
21 url="http://trevp.net/tlslite/",
22 description="tlslite implements SSL and TLS with SRP, shared-keys, cryptoID, or X.509 authentication.",
23 license="public domain",
24 scripts=["scripts/tls.py", "scripts/tlsdb.py"],
25 packages=["tlslite", "tlslite.utils", "tlslite.integration"],
26 ext_modules=exts)