python: Made htp properly buildable from installed library.
[ashd.git] / python / setup.py
CommitLineData
4942dacd
FT
1#!/usr/bin/python
2
3from distutils.core import setup, Extension
4
5htlib = Extension("ashd.htlib", ["htp.c"],
e8b7861a 6 libraries = ["ht"])
4942dacd
FT
7
8setup(name = "ashd-py",
9 version = "0.1",
10 description = "Python module for handling ashd requests",
11 author = "Fredrik Tolf",
12 author_email = "fredrik@dolda2000.com",
13 url = "http://www.dolda2000.com/~fredrik/ashd/",
14 ext_modules = [htlib],
15 packages = ["ashd"],
16 license = "GPL-3")