diff --git a/python/BUILD PYPI RELEASE HOWTO.txt b/python/BUILD PYPI RELEASE HOWTO.txt new file mode 100644 index 0000000..cf98b34 --- /dev/null +++ b/python/BUILD PYPI RELEASE HOWTO.txt @@ -0,0 +1,3 @@ +Instructions for putting packaging UltraJSON as ujson for distutils distribution: + +Copy ultrajson.h, ultrajsondec.c and ultrajsonenc.c from this directories parent directory (root) into this directory (root/python). diff --git a/python/MANIFEST b/python/MANIFEST new file mode 100644 index 0000000..b40466b --- /dev/null +++ b/python/MANIFEST @@ -0,0 +1,8 @@ +JSONtoObj.c +objToJSON.c +setup.py +ujson.c +ultrajsondec.c +ultrajsonenc.c +version.h +ultrajson.h diff --git a/python/setup.py b/python/setup.py index 61928cb..781da4f 100644 --- a/python/setup.py +++ b/python/setup.py @@ -12,7 +12,7 @@ except(OSError): module1 = Extension('ujson', sources = ['ujson.c', 'objToJSON.c', 'JSONtoObj.c', 'ultrajsonenc.c', 'ultrajsondec.c'], headers = ['version.h'], - include_dirs = ['../']) + include_dirs = ['./']) def get_version(): filename = os.path.join(os.path.dirname(__file__), 'version.h')