Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jlbec...
[pandora-kernel.git] / tools / perf / util / setup.py
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', 'util/cgroup.c'],
9                   include_dirs = ['util/include'],
10                   extra_compile_args = ['-fno-strict-aliasing', '-Wno-write-strings'])
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])