From 5b121194afb13865c9eb6a045608e9a36e8a8b39 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 7 Feb 2012 10:11:37 +0100 Subject: [PATCH] Fixed building of PIP which onces agains needs copying into python directory --- python/MANIFEST | 4 +++- python/setup.py | 6 ++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/python/MANIFEST b/python/MANIFEST index b40466b..beaf0ac 100644 --- a/python/MANIFEST +++ b/python/MANIFEST @@ -4,5 +4,7 @@ setup.py ujson.c ultrajsondec.c ultrajsonenc.c -version.h ultrajson.h +version.h + + diff --git a/python/setup.py b/python/setup.py index 8d00bf3..8d79e8c 100644 --- a/python/setup.py +++ b/python/setup.py @@ -22,9 +22,8 @@ except(OSError): pass module1 = Extension('ujson', - sources = ['ujson.c', 'objToJSON.c', 'JSONtoObj.c', '../ultrajsonenc.c', '../ultrajsondec.c'], - headers = ['version.h'], - include_dirs = ['./', '..']) + sources = ['ujson.c', 'objToJSON.c', 'JSONtoObj.c', 'ultrajsonenc.c', 'ultrajsondec.c'], + include_dirs = ['./']) def get_version(): filename = os.path.join(os.path.dirname(__file__), 'version.h') @@ -47,7 +46,6 @@ setup (name = 'ujson', author_email="jonas.tarnstrom@esn.me", download_url="http://github.com/esnme/ultrajson", license="BSD License", - packages=['ujson'], platforms=['any'], url="http://www.esn.me", classifiers=CLASSIFIERS,