File: setup.py.in

package info (click to toggle)
libdumbnet 1.8-1.5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,704 kB
  • ctags: 2,108
  • sloc: sh: 15,441; ansic: 10,147; python: 205; makefile: 162
file content (19 lines) | stat: -rw-r--r-- 595 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env python

import glob, os
from distutils.core import setup, Extension

dnet = Extension('dnet',
                 # XXX - hrr, suk
                 [ os.path.realpath('@srcdir@/dnet.c') ],
                 include_dirs = [ '@top_srcdir@/include' ],
                 # XXX - hrr, suk
                 extra_objects = glob.glob('../src/.libs/*.o'))

setup(name='dnet',
      version='@VERSION@',
      description='low-level networking library',
      author='Dug Song',
      author_email='dugsong@monkey.org',
      url='http://libdnet.sourceforge.net/',
      ext_modules = [dnet])