mirror of
https://github.com/JakeHillion/drgn.git
synced 2024-12-25 10:23:05 +00:00
29 lines
622 B
Python
Executable File
29 lines
622 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
from setuptools import setup, find_packages
|
|
from setuptools.extension import Extension
|
|
|
|
|
|
extensions = [
|
|
Extension(
|
|
name='drgn.dwarfindex',
|
|
sources=[
|
|
'drgn/dwarfindex.c',
|
|
],
|
|
extra_compile_args=['-fopenmp'],
|
|
extra_link_args=['-fopenmp'],
|
|
),
|
|
]
|
|
|
|
setup(
|
|
name='drgn',
|
|
packages=find_packages(exclude=['scripts', 'tests']),
|
|
ext_modules=extensions,
|
|
entry_points={
|
|
'console_scripts': ['drgn=drgn.cli.main'],
|
|
},
|
|
author='Omar Sandoval',
|
|
author_email='osandov@osandov.com',
|
|
description='Scriptable debugger',
|
|
)
|