2017-08-25 06:46:16 +01:00
|
|
|
#!/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
|
2017-08-29 05:16:43 +01:00
|
|
|
from setuptools.extension import Extension
|
|
|
|
|
|
|
|
|
2018-03-26 09:51:20 +01:00
|
|
|
extensions = [
|
2018-03-10 01:41:54 +00:00
|
|
|
Extension(
|
2018-03-25 10:10:15 +01:00
|
|
|
name='drgn.dwarfindex',
|
2018-03-10 01:41:54 +00:00
|
|
|
sources=[
|
2018-03-25 10:10:15 +01:00
|
|
|
'drgn/dwarfindex.c',
|
2018-03-10 01:41:54 +00:00
|
|
|
],
|
2018-04-02 08:33:23 +01:00
|
|
|
extra_compile_args=['-fopenmp'],
|
|
|
|
extra_link_args=['-fopenmp'],
|
2018-03-10 01:41:54 +00:00
|
|
|
),
|
2017-08-29 05:16:43 +01:00
|
|
|
]
|
2017-08-25 06:46:16 +01:00
|
|
|
|
|
|
|
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']),
|
2018-03-25 10:10:15 +01:00
|
|
|
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',
|
2017-08-25 06:46:16 +01:00
|
|
|
)
|