summaryrefslogtreecommitdiffstats
path: root/debian/pilot-link/pilot-link-0.12.5-dfsg/bindings/Python/setup.py
blob: d148d267fb11b73080c4f135864ae3c4aa115c79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/usr/bin/python
#
# Copyright (c) 2004-2005, Nick Piper.
# 
# This library is free software; you can redistribute it and/or modify it
# under the terms of the GNU Library General Public License as published by
# the Free Software Foundation; either version 2 of the License, or (at
# your option) any later version.
# 
# This library is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library
# General Public License for more details.
# 
# You should have received a copy of the GNU Library General Public License
# along with this library; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
# 
# $Id: setup.py.in,v 1.7 2006/05/31 17:59:55 desrod Exp $

from distutils.core import setup, Extension

setup(name = "python-libpisock",
      version = "0.12.5",
      description = "Python bindings for the pisock library.",
      author = "Nick Piper",
      author_email = "nick@nickpiper.co.uk",
      url = "http://www.pilot-link.org/",

      ext_modules = [Extension("_pisock",["src/pisock_wrap.c"],
                               include_dirs=['../../include'],
                               library_dirs=['../../libpisock/.libs'],
                               libraries=['pisock'],
                               )
                     ],
      package_dir = {'': 'src'},
      py_modules = ["pisock","pisockextras"])