]> asedeno.scripts.mit.edu Git - 1ts-debian.git/blob - python-gss/setup.py
finalize -3
[1ts-debian.git] / python-gss / setup.py
1 # Hack for AFS compatibility
2 import os
3 del os.link
4
5 from distutils.core import setup, Extension
6 import commands
7
8 setup(name="python-gss", 
9     version="0.4.0", 
10     description="Python GSSAPI Bindings",
11     author="Simon Wilkinson",
12     author_email="simon@sxw.org.uk",
13     long_description="A set of bindings to let python applications call into the GSSAPI",
14     license="BSD",
15     ext_modules = [
16         Extension(
17             "gss", 
18             extra_link_args = commands.getoutput("krb5-config --libs gssapi").split(),
19             extra_compile_args = commands.getoutput("krb5-config --cflags gssapi").split(),
20             sources = ["gssmodule.c"]
21         ),
22         Extension(
23            "gsskrb5",
24             extra_link_args = commands.getoutput("krb5-config --libs gssapi").split(),
25             extra_compile_args = commands.getoutput("krb5-config --cflags gssapi").split(),
26             sources = ["gsskrb5module.c"]
27         )
28     ],
29 )