| 1 |
# -*- coding: utf-8 -*- |
| 2 |
#!/usr/bin/env python |
| 3 |
|
| 4 |
from distutils.core import setup, Extension |
| 5 |
|
| 6 |
team = Extension('team/_capi', |
| 7 |
sources = ['team/capi.i'], |
| 8 |
include_dirs = ['../../include'], |
| 9 |
library_dirs = ['../../libteam/.libs'], |
| 10 |
swig_opts = ['-O', '-nodefaultctor'], |
| 11 |
libraries = ['team'], |
| 12 |
) |
| 13 |
|
| 14 |
setup(name = 'team', |
| 15 |
version = '1.0', |
| 16 |
description = 'Python wrapper for teaming lib.', |
| 17 |
author = 'Jiří Župka', |
| 18 |
author_email = '[email protected]', |
| 19 |
ext_modules = [team], |
| 20 |
packages = ['team'] |
| 21 |
) |