This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/packages/swig/python/setup.py.cmake

27 lines
1.2 KiB
CMake
Raw Normal View History

2016-08-22 04:01:38 +01:00
from distutils.core import setup, Extension
2016-07-31 16:32:50 +01:00
setup(
name = "yap",
version = "0.1",
2016-08-23 01:18:33 +01:00
ext_modules=[Extension('_yap', ['${CMAKE_SOURCE_DIR}/packages/swig/python/_yap.c'],
2016-07-31 16:32:50 +01:00
define_macros = [('MAJOR_VERSION', '1'),
('MINOR_VERSION', '0'),
('_YAP_NOT_INSTALLED_', '1')],
2016-08-23 01:18:33 +01:00
runtime_library_dirs=['${dlls}'],
library_dirs=['../../..','../../../CXX',
'../../python',
'.'],
libraries=['Yap++','Yap','YAPPython'],
2016-07-31 16:32:50 +01:00
include_dirs=['../../..',
'${CMAKE_SOURCE_DIR}/H',
'${CMAKE_SOURCE_DIR}/H/generated',
'${CMAKE_SOURCE_DIR}/OPTYap',
'${CMAKE_SOURCE_DIR}/os',
'${CMAKE_SOURCE_DIR}/include',
2016-08-23 01:18:33 +01:00
'${CMAKE_SOURCE_DIR}/CXX', '.'],
extra_objects = ['${CMAKE_CURRENT_BINARY_DIR}/_Py2YAP${CMAKE_SHARED_MODULE_SUFFIX}' ]
2016-07-31 16:32:50 +01:00
)],
py_modules = ['yap']
)
2016-08-22 04:01:38 +01:00
\