]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/csetup.py
get: adjust for python 3 and test there
[bup.git] / lib / bup / csetup.py
index b58932c0ae2cf5dcddaf4576b9194b4da0787397..1cebf76f211dce1c87a037566afc9fca115390d1 100644 (file)
@@ -1,8 +1,13 @@
+
+from __future__ import absolute_import
+
 from distutils.core import setup, Extension
 
-_hashsplit_mod = Extension('_hashsplit', sources=['_hashsplit.c'])
+_helpers_mod = Extension('_helpers',
+                         sources=['_helpers.c', 'bupsplit.c'],
+                         depends=['../../config/config.h'])
 
-setup(name='_hashsplit',
+setup(name='_helpers',
       version='0.1',
-      description='hashsplit helper library for bup',
-      ext_modules=[_hashsplit_mod])
+      description='accelerator library for bup',
+      ext_modules=[_helpers_mod])