Use libtool and compile libht as a shared library.
[ashd.git] / python / setup.py
... / ...
CommitLineData
1#!/usr/bin/python
2
3from distutils.core import setup, Extension
4
5htlib = Extension("ashd.htlib", ["htp.c"],
6 libraries = ["ht"],
7 library_dirs = ["../lib/"],
8 include_dirs = ["../lib/"])
9
10setup(name = "ashd-py",
11 version = "0.1",
12 description = "Python module for handling ashd requests",
13 author = "Fredrik Tolf",
14 author_email = "fredrik@dolda2000.com",
15 url = "http://www.dolda2000.com/~fredrik/ashd/",
16 ext_modules = [htlib],
17 packages = ["ashd"],
18 license = "GPL-3")