21 lines
801 B
Python
21 lines
801 B
Python
from distutils.core import setup, Extension
|
|
|
|
module1 = Extension('pyhumor_runtime',
|
|
sources=[
|
|
'pyhumor_runtime.c',
|
|
'libtomcrypt/ciphers/aes/aes.c',
|
|
'libtomcrypt/ciphers/aes/aes_desc.c',
|
|
'libtomcrypt/ciphers/aes/aes_tab.c',
|
|
# 'libtomcrypt/misc/crypt/crypt_argchk.c',
|
|
'libtomcrypt/misc/zeromem.c',
|
|
'libtomcrypt/misc/compare_testvector.c',
|
|
],
|
|
include_dirs=['libtomcrypt/headers'],
|
|
define_macros=[('ARGTYPE', '1')],
|
|
)
|
|
|
|
setup (name = 'pyhumor_runtime',
|
|
version = '1.0',
|
|
description = '',
|
|
ext_modules = [module1])
|