Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Enable building without requiring copying

  • Loading branch information...
commit 72088a10de8d371e949d6bc02665672fbb714ffe 1 parent cde9aae
@mikeyk mikeyk authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/setup.py
View
4 python/setup.py
@@ -10,9 +10,9 @@
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')
Please sign in to comment.
Something went wrong with that request. Please try again.