| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 | 2 |
| 3 import sys | 3 # Author: Trevor Perrin |
| 4 from distutils.core import setup, Extension | 4 # See the LICENSE file for legal information regarding use of this file. |
| 5 | 5 |
| 6 if sys.version_info < (2, 2): | 6 from distutils.core import setup |
| 7 raise AssertionError("Python 2.2 or later required") | |
| 8 | |
| 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 | |
| 16 | 7 |
| 17 setup(name="tlslite", | 8 setup(name="tlslite", |
| 18 version="0.3.8", | 9 version="0.4.6", |
| 19 author="Trevor Perrin", | 10 author="Trevor Perrin", |
| 20 author_email="trevp@trevp.net", | 11 author_email="tlslite@trevp.net", |
| 21 url="http://trevp.net/tlslite/", | 12 url="http://trevp.net/tlslite/", |
| 22 description="tlslite implements SSL and TLS with SRP, shared-keys, cryptoI
D, or X.509 authentication.", | 13 description="tlslite implements SSL and TLS.", |
| 23 license="public domain", | 14 license="public domain and BSD", |
| 24 scripts=["scripts/tls.py", "scripts/tlsdb.py"], | 15 scripts=["scripts/tls.py", "scripts/tlsdb.py"], |
| 25 packages=["tlslite", "tlslite.utils", "tlslite.integration"], | 16 packages=["tlslite", "tlslite.utils", "tlslite.integration"],) |
| 26 ext_modules=exts) | |
| OLD | NEW |