2
# -*- mode: python; c-basic-offset: 2; indent-tabs-mode: nil; -*-
3
# vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
4
## drizzle-interface: Interface Wrappers for Drizzle
5
## Copyright (C) 2008 Sun Microsystems, Inc.
7
## This program is free software; you can redistribute it and/or modify
8
## it under the terms of the GNU General Public License as published by
9
## the Free Software Foundation; either version 2 of the License, or
10
## (at your option) any later version.
12
## This program is distributed in the hope that it will be useful,
13
## but WITHOUT ANY WARRANTY; without even the implied warranty of
14
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
## GNU General Public License for more details.
17
## You should have received a copy of the GNU General Public License
18
## along with this program; if not, write to the Free Software
19
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21
# bootstrap setuptools if necessary
22
from ez_setup import use_setuptools
25
from distutils.command.clean import clean
26
from distutils.command.build import build
27
from setuptools import setup,Extension
30
from gearman.release import version
32
description = """Python wrapper of libgearman"""
35
Development Status :: 2 - Pre-Alpha
36
License :: OSI Approved :: BSD
37
Operating System :: POSIX :: Linux
38
Programming Language :: C++
39
Programming Language :: Python
40
Topic :: Software Development :: Libraries :: Python Modules
43
setup(name="python-gearman",
45
description=description,
46
long_description=description,
47
author="Monty Taylor",
48
author_email="mordred@inaugust.com",
49
url="http://launchpad.net/gearman-interface",
52
classifiers=filter(None, classifiers.splitlines()),
55
Extension("gearman._libgearman",
56
sources=["libgearman.cc"],
57
libraries=["gearman"],
60
#test_suite = "tests.AllTests.test_all",