Rizin
unix-like reverse engineering framework and cli tools
setup_cython.py File Reference

Go to the source code of this file.

Classes

class  setup_cython.custom_build
 

Namespaces

 setup_cython
 

Functions

def setup_cython.clean_bins ()
 
def setup_cython.copy_pysources ()
 
def setup_cython.build_libraries ()
 

Variables

 setup_cython.SYSTEM = sys.platform
 
string setup_cython.VERSION = '4.0.0'
 
int setup_cython.IS_64BITS = sys.maxsize > 2**32
 
 setup_cython.ROOT_DIR = os.path.dirname(os.path.realpath(__file__))
 
 setup_cython.LIBS_DIR = os.path.join(ROOT_DIR, 'pyx', 'lib')
 
 setup_cython.HEADERS_DIR = os.path.join(ROOT_DIR, 'pyx', 'include')
 
 setup_cython.SRC_DIR = os.path.join(ROOT_DIR, 'src')
 
 setup_cython.BUILD_DIR = SRC_DIR if os.path.exists(SRC_DIR) else os.path.join(ROOT_DIR, '../..')
 
 setup_cython.PYPACKAGE_DIR = os.path.join(ROOT_DIR, 'capstone')
 
 setup_cython.CYPACKAGE_DIR = os.path.join(ROOT_DIR, 'pyx')
 
string setup_cython.VERSIONED_LIBRARY_FILE = "libcapstone.4.dylib"
 
string setup_cython.LIBRARY_FILE = "libcapstone.dylib"
 
string setup_cython.STATIC_LIBRARY_FILE = 'libcapstone.a'
 
list setup_cython.compile_args = ['-O3', '-fomit-frame-pointer', '-I' + HEADERS_DIR]
 
list setup_cython.link_args = ['-L' + LIBS_DIR]
 
list setup_cython.ext_module_names = ['arm', 'arm_const', 'arm64', 'arm64_const', 'm68k', 'm68k_const', 'm680x', 'm680x_const', 'mips', 'mips_const', 'ppc', 'ppc_const', 'x86', 'x86_const', 'sparc', 'sparc_const', 'systemz', 'sysz_const', 'xcore', 'xcore_const', 'tms320c64x', 'tms320c64x_const', 'evm', 'evm_const' ]
 
list setup_cython.ext_modules
 
 setup_cython.extra_compile_args
 
 setup_cython.extra_link_args