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

Enable building without requiring copying

This commit is contained in:
Mike Krieger 2012-01-03 15:26:25 -08:00
parent cde9aaeccb
commit 72088a10de

@ -10,9 +10,9 @@ except(OSError):
pass
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'],
include_dirs = ['./'])
include_dirs = ['./', '..'])
def get_version():
filename = os.path.join(os.path.dirname(__file__), 'version.h')