You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
506 B
20 lines
506 B
7 years ago
|
from distutils.core import setup, Extension
|
||
|
|
||
|
module = Extension('libxlpy'
|
||
|
, sources = [
|
||
|
'libxlpy.c',
|
||
|
'book.c',
|
||
|
'sheet.c',
|
||
|
'format.c',
|
||
|
'font.c'
|
||
|
]
|
||
|
, extra_compile_args = ['-I../../include_c']
|
||
|
, extra_link_args = ['-L../../lib', '-lxl', '-Wl,-rpath,../../lib']
|
||
|
)
|
||
|
|
||
|
setup (name = 'libxlpy'
|
||
|
, version = '1.0'
|
||
|
, description = 'libxl python wrapper'
|
||
|
, ext_modules = [module]
|
||
|
)
|