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,