rabbitizer/setup.py

24 lines
894 B
Python
Raw Normal View History

2022-06-04 16:28:51 +00:00
# SPDX-FileCopyrightText: © 2022 Decompollaborate
# SPDX-License-Identifier: MIT
2022-06-04 15:19:03 +00:00
from setuptools import setup, find_packages, Extension
setup(
name='rabbitizer',
version='0.1.0',
packages=find_packages(),
ext_modules=[
Extension(
# the qualified name of the extension module to build
'rabbitizer',
# the files to compile into our module relative to ``setup.py``
2022-06-04 16:28:51 +00:00
["rabbitizer/rabbitizer_module.c", "rabbitizer/rabbitizer_Instr.c",
2022-06-04 15:19:03 +00:00
"src/instructions/RabbitizerInstr_Disassemble.c", "src/instructions/RabbitizerInstr_ProcessUniqueId.c", "src/instructions/RabbitizerInstr.c",
"src/instructions/RabbitizerInstrDescriptor.c", "src/instructions/RabbitizerInstrId.c", "src/instructions/RabbitizerRegister.c",
"src/common/Utils.c"],
include_dirs=['include']
),
],
)