From 08e7ad94f99b5944405a40af5c28b9aa95e9c0b0 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Fri, 19 Aug 2011 22:30:13 -0700 Subject: Renamed lang_ext -> bindings, README updates. --- bindings/python/setup.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 bindings/python/setup.py (limited to 'bindings/python/setup.py') diff --git a/bindings/python/setup.py b/bindings/python/setup.py new file mode 100644 index 0000000..8abaff8 --- /dev/null +++ b/bindings/python/setup.py @@ -0,0 +1,14 @@ +from distutils.core import setup, Extension + +setup(name='upb', + version='0.1', + ext_modules=[ + Extension('upb.__init__', ['upb.c'], + include_dirs=['../../'], + define_macros=[("UPB_UNALIGNED_READS_OK", 1)], + library_dirs=['../../upb'], + libraries=['upb_pic'], + ), + ], + packages=['upb'] + ) -- cgit v1.2.3