mirror of
https://github.com/ultrajson/ultrajson.git
synced 2024-11-24 05:12:02 +01:00
- Fixed PyPi builds and added instructions for it
This commit is contained in:
parent
25b906f420
commit
6738e59af1
3
python/BUILD PYPI RELEASE HOWTO.txt
Normal file
3
python/BUILD PYPI RELEASE HOWTO.txt
Normal file
@ -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
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',
|
module1 = Extension('ujson',
|
||||||
sources = ['ujson.c', 'objToJSON.c', 'JSONtoObj.c', 'ultrajsonenc.c', 'ultrajsondec.c'],
|
sources = ['ujson.c', 'objToJSON.c', 'JSONtoObj.c', 'ultrajsonenc.c', 'ultrajsondec.c'],
|
||||||
headers = ['version.h'],
|
headers = ['version.h'],
|
||||||
include_dirs = ['../'])
|
include_dirs = ['./'])
|
||||||
|
|
||||||
def get_version():
|
def get_version():
|
||||||
filename = os.path.join(os.path.dirname(__file__), 'version.h')
|
filename = os.path.join(os.path.dirname(__file__), 'version.h')
|
||||||
|
Loading…
Reference in New Issue
Block a user