Permalink
Browse files

use Cython to build

  • Loading branch information...
davies committed Jun 2, 2012
1 parent 1479834 commit ef30348ddaf7cd1f283d6ae7a008018f27ba1c71
Showing with 4 additions and 2 deletions.
  1. +4 −2 setup.py
View
@@ -1,14 +1,16 @@
#!/usr/bin/env python
from setuptools import setup, Extension
+from Cython.Distutils import build_ext
setup(
name = "python-libmemcached",
- version = "0.40",
+ version = "1.0",
description="python memcached client wrapped on libmemcached",
maintainer="davies",
maintainer_email="davies.liu@gmail.com",
- install_requires = ['pyrex'],
+ install_requires = ['cython'],
+ cmdclass = {'build_ext': build_ext},
ext_modules=[Extension('cmemcached_imp',
['cmemcached_imp.pyx', 'split_mc.c'],
libraries=['memcached'],

0 comments on commit ef30348

Please sign in to comment.