From df9c15d40a50ed17baa7bdbb11ef6cca9d410cf3 Mon Sep 17 00:00:00 2001 From: zyp Date: Mon, 8 May 2006 13:23:20 +0000 Subject: [project @ zyp-20060508132320-2c118d1a7e2505db] [project @ 24] Converted from make to distutils. --- setup.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 setup.py (limited to 'setup.py') diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..cea2803 --- /dev/null +++ b/setup.py @@ -0,0 +1,15 @@ +#!/usr/bin/env python + +import os +from distutils.core import setup, Extension + +setup( + name='multihash', + packages = ['multihash'], + ext_modules=[ + Extension('multihash._multihash', + ['src/' + x for x in os.listdir('src') if x.endswith('.cpp')], + include_dirs = [], + library_dirs = [], + libraries = ["boost_python", "ssl"], + extra_compile_args = [])]) -- cgit v1.2.3