Commit | Line | Data |
---|---|---|
877108e4 ACM |
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', | |
8 | 'util/util.c', 'util/xyarray.c'], | |
f6bbc1da ACM |
9 | include_dirs = ['util/include'], |
10 | extra_compile_args = ['-fno-strict-aliasing', '-Wno-write-strings']) | |
877108e4 ACM |
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]) |