Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

clean setup.py

  • Loading branch information...
commit a0bac72f88be8e8ed405bae899935e594204d6f9 1 parent 47c69b9
@sebest sebest authored
View
6 libchash/debian/changelog
@@ -1,3 +1,9 @@
+chash (1.0.1-2~karmic1) karmic-dc; urgency=low
+
+ * Cloud repository
+
+ -- Sebastien Estienne <sebastien.estienne@gmail.com> Thu, 24 Feb 2011 15:26:55 +0100
+
chash (1.0.1) stable; urgency=low
* Change target minimum weight to 0 (was 1) and maximum weight to 100 (was 10) (beware of continuum computation time and size!)
View
12 python/debian/changelog
@@ -1,3 +1,15 @@
+python-chash (1.0.1-3~precise1) precise-dc; urgency=low
+
+ * Precise repository
+
+ -- Sebastien Estienne <sebastien.estienne@gmail.com> Mon, 02 Dec 2013 15:53:14 +0100
+
+python-chash (1.0.1-2~karmic1) karmic-dc; urgency=low
+
+ * Cloud repository
+
+ -- Sebastien Estienne <sebastien.estienne@gmail.com> Thu, 24 Feb 2011 15:31:51 +0100
+
python-chash (1.0.1) UNRELEASED; urgency=low
* Fix crash on 64bit systems
View
32 python/setup.py
@@ -1,15 +1,21 @@
-from distutils.core import setup, Extension
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
-module = Extension('chash',
- sources = ['chash.c'],
-# include_dirs = ['../library'],
- libraries = ['chash'],
-# library_dirs = ['../library'],
- )
+from setuptools import setup, Extension
+import commands
-setup (name = 'CHash',
- version = '1.0.0',
- author = 'Sebastien Estienne',
- author_email = 'sebastien.estienne@dailymotion.com',
- description = 'Consistent hashing library Python extension',
- ext_modules = [module])
+chash_ext = Extension(
+ name = 'chash',
+ sources = ['chash.c'],
+ libraries = ['chash']
+)
+
+setup (
+ name = 'CHash',
+ version = '1.0.1',
+ description = 'Consistent hashing library Python extension',
+ author = 'Sebastien Estienne',
+ author_email = 'sebastien.estienne@dailymotion.com',
+ ext_modules = [chash_ext],
+ zip_safe=False
+)
Please sign in to comment.
Something went wrong with that request. Please try again.