drgn/setup.py

32 lines
700 B
Python
Raw Normal View History

#!/usr/bin/env python3
2018-04-15 23:30:54 +01:00
from drgn import __version__
2018-04-07 18:42:48 +01:00
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',
2018-04-15 23:30:54 +01:00
version=__version__,
2018-04-07 18:42:48 +01:00
packages=find_packages(exclude=['scripts', 'tests']),
ext_modules=extensions,
2018-04-07 18:42:48 +01:00
entry_points={
'console_scripts': ['drgn=drgn.cli.main'],
},
author='Omar Sandoval',
author_email='osandov@osandov.com',
2018-04-15 23:03:33 +01:00
license='GPL-3.0+',
2018-04-07 18:42:48 +01:00
description='Scriptable debugger',
)