Blame src/libpfm-3.y/python/setup.py
|
Packit |
577717 |
#!/usr/bin/env python
|
|
Packit |
577717 |
|
|
Packit |
577717 |
from distutils.core import setup, Extension
|
|
Packit |
577717 |
from distutils.command.install_data import install_data
|
|
Packit |
577717 |
|
|
Packit |
577717 |
setup(name='perfmon',
|
|
Packit |
577717 |
version='0.1',
|
|
Packit |
577717 |
author='Arun Sharma',
|
|
Packit |
577717 |
author_email='arun.sharma@google.com',
|
|
Packit |
577717 |
description='libpfm wrapper',
|
|
Packit |
577717 |
packages=['perfmon'],
|
|
Packit |
577717 |
package_dir={ 'perfmon' : 'src' },
|
|
Packit |
577717 |
py_modules=['perfmon.perfmon_int'],
|
|
Packit |
577717 |
ext_modules=[Extension('perfmon._perfmon_int',
|
|
Packit |
577717 |
sources = ['src/perfmon_int.i'],
|
|
Packit |
577717 |
libraries = ['pfm'],
|
|
Packit |
577717 |
library_dirs = ['../lib'],
|
|
Packit |
577717 |
include_dirs = ['../include'],
|
|
Packit |
577717 |
swig_opts=['-I../include'])])
|