-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·47 lines (44 loc) · 1.51 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/usr/bin/env python
#
# Setup for tlscrypto, a minimal subset of pycrypto 1.6 for use with tlslite.
#
# March 5, 2013 - Dave Baggett (Arcode Corporation)
#
from distutils.core import setup, Extension
extra_compile_args = ['-Iinclude']
extra_link_args = []
setup(name='tlscrypto',
version='1.0',
description='Minimal subset of pycrypto 1.6 for use with tlslite',
author='Dave Baggett',
author_email='[email protected]',
url='https://github.com/dmbaggett/tlscrypto',
packages=['tlscrypto'],
ext_modules=[
Extension(
name='tlscrypto._AES',
sources=['tlscrypto/aes/AES.c'],
extra_compile_args=extra_compile_args,
extra_link_args=extra_link_args),
Extension(
name='tlscrypto._MD2',
sources=['tlscrypto/md2/MD2.c'],
extra_compile_args=extra_compile_args,
extra_link_args=extra_link_args),
Extension(
name='tlscrypto._MD4',
sources=['tlscrypto/md4/MD4.c'],
extra_compile_args=extra_compile_args,
extra_link_args=extra_link_args),
Extension(
name='tlscrypto._ARC2',
sources=['tlscrypto/rc2/ARC2.c'],
extra_compile_args=extra_compile_args,
extra_link_args=extra_link_args),
Extension(
name='tlscrypto._ARC4',
sources=['tlscrypto/rc4/ARC4.c'],
extra_compile_args=extra_compile_args,
extra_link_args=extra_link_args),
]
)