Arnaldo Carvalho de Melo | 877108e | 2011-01-29 15:44:29 -0200 | [diff] [blame] | 1 | #!/usr/bin/python2 |
| 2 | |
| 3 | from distutils.core import setup, Extension |
| 4 | |
| 5 | perf = Extension('perf', |
| 6 | sources = ['util/python.c', 'util/ctype.c', 'util/evlist.c', |
| 7 | 'util/evsel.c', 'util/cpumap.c', 'util/thread_map.c', |
Arnaldo Carvalho de Melo | 4498062 | 2011-02-17 10:07:42 -0200 | [diff] [blame] | 8 | 'util/util.c', 'util/xyarray.c', 'util/cgroup.c'], |
Arnaldo Carvalho de Melo | f6bbc1d | 2011-01-31 20:56:27 -0200 | [diff] [blame] | 9 | include_dirs = ['util/include'], |
| 10 | extra_compile_args = ['-fno-strict-aliasing', '-Wno-write-strings']) |
Arnaldo Carvalho de Melo | 877108e | 2011-01-29 15:44:29 -0200 | [diff] [blame] | 11 | |
| 12 | setup(name='perf', |
| 13 | version='0.1', |
| 14 | description='Interface with the Linux profiling infrastructure', |
| 15 | author='Arnaldo Carvalho de Melo', |
| 16 | author_email='acme@redhat.com', |
| 17 | license='GPLv2', |
| 18 | url='http://perf.wiki.kernel.org', |
| 19 | ext_modules=[perf]) |