File: setup.py

package info (click to toggle)
python-tcpwrap 0.2-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 84 kB
  • ctags: 25
  • sloc: python: 72; makefile: 49; ansic: 24
file content (23 lines) | stat: -rw-r--r-- 807 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from distutils.core import setup, Extension

module1 = Extension('libtcpwrap',
                    define_macros = [('MAJOR_VERSION', '0'),
                                     ('MINOR_VERSION', '2')],
                    include_dirs = ['/usr/local/include'],
                    libraries = ['wrap'],
                    library_dirs = ['/usr/local/lib'],
                    sources = ['pytcpwrap.c'])

setup (name = 'pytcpwrap',
       version = '0.2',
       description = 'TCP wrappers interface for Python',
       packages = ['pytcpwrap'],
       license = "LGPL",
       author = 'Eugene Coetzee',
       author_email = 'eugene@reedflute.com',
       url = 'http://ples.sf.net/PlesUtils',
       long_description = '''
Python interface to TCP wrappers libwrap
''',
       ext_modules = [module1])