1
0
mirror of https://github.com/ultrajson/ultrajson.git synced 2024-11-24 01:04:19 +01:00

- Fixed PyPi builds and added instructions for it

This commit is contained in:
Jonas Tarnstrom 2011-08-17 09:05:58 +02:00
parent 25b906f420
commit 6738e59af1
3 changed files with 12 additions and 1 deletions

@ -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).

8
python/MANIFEST Normal file

@ -0,0 +1,8 @@
JSONtoObj.c
objToJSON.c
setup.py
ujson.c
ultrajsondec.c
ultrajsonenc.c
version.h
ultrajson.h

@ -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')