File: setup.py.in

package info (click to toggle)
libteam 1.12-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,320 kB
  • ctags: 2,189
  • sloc: ansic: 16,808; sh: 1,190; python: 613; makefile: 110
file content (21 lines) | stat: -rw-r--r-- 608 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- coding: utf-8 -*-
#!/usr/bin/env python

from distutils.core import setup, Extension

team = Extension('team/_capi',
            sources = ['team/capi.i'],
            include_dirs = ['../../include'],
            library_dirs = ['../../libteam/.libs'],
            swig_opts = ['-O', '-nodefaultctor'],
            libraries = ['team'],
            )

setup(name = 'team',
        version = '1.0',
        description = 'Python wrapper for teaming lib.',
        author = 'Jiří Župka',
        author_email = 'jzupka@redhat.com',
        ext_modules = [team],
        packages = ['team']
        )