Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix release to include pybloomfilter.c

  • Loading branch information...
commit cbb7a93a8cf6da2b86409d6ae9720e08fd089863 1 parent 9618c88
@axiak authored
Showing with 17 additions and 12 deletions.
  1. +6 −1 setup.py
  2. +10 −10 src/pybloomfilter.c
  3. +1 −1  src/pybloomfilter.pyx
View
7 setup.py
@@ -12,6 +12,8 @@
kwargs = {}
try:
+ if '--no-cython' in sys.argv:
+ raise ImportError()
import Cython
sys.path.insert(0, os.path.join(here, 'fake_pyrex'))
except ImportError:
@@ -21,6 +23,9 @@
from setuptools import setup, Extension
try:
+ if '--no-cython' in sys.argv:
+ sys.argv.remove('--no-cython')
+ raise ImportError()
from Cython.Distutils import build_ext
print "info: Building from Cython"
ext_files.append("src/pybloomfilter.pyx")
@@ -50,7 +55,7 @@
setup(
name = 'pybloomfiltermmap',
- version = "0.3.9",
+ version = "0.3.11",
author = "Michael Axiak, Rob Stacey",
author_email = "mike@axiak.net",
url = "http://github.com/axiak/pybloomfiltermmap/",
View
20 src/pybloomfilter.c
@@ -1,4 +1,4 @@
-/* Generated by Cython 0.17 on Mon Nov 26 19:52:40 2012 */
+/* Generated by Cython 0.17 on Mon Nov 26 20:03:58 2012 */
#define PY_SSIZE_T_CLEAN
#include "Python.h"
@@ -830,8 +830,8 @@ static PyObject *__pyx_int_0;
static PyObject *__pyx_int_2;
static PyObject *__pyx_int_3;
static PyObject *__pyx_int_4;
-static PyObject *__pyx_int_8;
static PyObject *__pyx_int_9;
+static PyObject *__pyx_int_11;
static PyObject *__pyx_int_32;
static PyObject *__pyx_int_0755;
static PyObject *__pyx_k_tuple_2;
@@ -5631,7 +5631,7 @@ static int __Pyx_InitCachedConstants(void) {
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_26));
/* "pybloomfilter.pyx":1
- * VERSION = (0, 3, 8) # <<<<<<<<<<<<<<
+ * VERSION = (0, 3, 11) # <<<<<<<<<<<<<<
* AUTHOR = "Michael Axiak"
*
*/
@@ -5643,9 +5643,9 @@ static int __Pyx_InitCachedConstants(void) {
__Pyx_INCREF(__pyx_int_3);
PyTuple_SET_ITEM(__pyx_k_tuple_27, 1, __pyx_int_3);
__Pyx_GIVEREF(__pyx_int_3);
- __Pyx_INCREF(__pyx_int_8);
- PyTuple_SET_ITEM(__pyx_k_tuple_27, 2, __pyx_int_8);
- __Pyx_GIVEREF(__pyx_int_8);
+ __Pyx_INCREF(__pyx_int_11);
+ PyTuple_SET_ITEM(__pyx_k_tuple_27, 2, __pyx_int_11);
+ __Pyx_GIVEREF(__pyx_int_11);
__Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_27));
/* "pybloomfilter.pyx":33
@@ -5699,8 +5699,8 @@ static int __Pyx_InitGlobals(void) {
__pyx_int_2 = PyInt_FromLong(2); if (unlikely(!__pyx_int_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
__pyx_int_3 = PyInt_FromLong(3); if (unlikely(!__pyx_int_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
__pyx_int_4 = PyInt_FromLong(4); if (unlikely(!__pyx_int_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
- __pyx_int_8 = PyInt_FromLong(8); if (unlikely(!__pyx_int_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
__pyx_int_9 = PyInt_FromLong(9); if (unlikely(!__pyx_int_9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
+ __pyx_int_11 = PyInt_FromLong(11); if (unlikely(!__pyx_int_11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
__pyx_int_32 = PyInt_FromLong(32); if (unlikely(!__pyx_int_32)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
__pyx_int_0755 = PyInt_FromLong(0755); if (unlikely(!__pyx_int_0755)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
return 0;
@@ -5794,14 +5794,14 @@ PyMODINIT_FUNC PyInit_pybloomfilter(void)
/*--- Execution code ---*/
/* "pybloomfilter.pyx":1
- * VERSION = (0, 3, 8) # <<<<<<<<<<<<<<
+ * VERSION = (0, 3, 11) # <<<<<<<<<<<<<<
* AUTHOR = "Michael Axiak"
*
*/
if (PyObject_SetAttr(__pyx_m, __pyx_n_s__VERSION, ((PyObject *)__pyx_k_tuple_27)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
/* "pybloomfilter.pyx":2
- * VERSION = (0, 3, 8)
+ * VERSION = (0, 3, 11)
* AUTHOR = "Michael Axiak" # <<<<<<<<<<<<<<
*
* __VERSION__ = VERSION
@@ -6019,7 +6019,7 @@ PyMODINIT_FUNC PyInit_pybloomfilter(void)
PyType_Modified(__pyx_ptype_13pybloomfilter_BloomFilter);
/* "pybloomfilter.pyx":1
- * VERSION = (0, 3, 8) # <<<<<<<<<<<<<<
+ * VERSION = (0, 3, 11) # <<<<<<<<<<<<<<
* AUTHOR = "Michael Axiak"
*
*/
View
2  src/pybloomfilter.pyx
@@ -1,4 +1,4 @@
-VERSION = (0, 3, 8)
+VERSION = (0, 3, 11)
AUTHOR = "Michael Axiak"
__VERSION__ = VERSION
Please sign in to comment.
Something went wrong with that request. Please try again.