File: setup.py.in

package info (click to toggle)
libteam 1.31-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 1,344 kB
  • sloc: ansic: 17,494; sh: 1,242; python: 613; makefile: 102
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']
        )