mirror of
https://github.com/ultrajson/ultrajson.git
synced 2024-11-24 05:12:02 +01:00
Enable building without requiring copying
This commit is contained in:
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')
|
||||
|
Loading…
Reference in New Issue
Block a user