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

Fixed building of PIP which onces agains needs copying into python directory

This commit is contained in:
unknown 2012-02-07 10:11:37 +01:00
parent dc6eb2f9e4
commit 5b121194af
2 changed files with 5 additions and 5 deletions

@ -4,5 +4,7 @@ setup.py
ujson.c
ultrajsondec.c
ultrajsonenc.c
version.h
ultrajson.h
version.h

@ -22,9 +22,8 @@ except(OSError):
pass
module1 = Extension('ujson',
sources = ['ujson.c', 'objToJSON.c', 'JSONtoObj.c', '../ultrajsonenc.c', '../ultrajsondec.c'],
headers = ['version.h'],
include_dirs = ['./', '..'])
sources = ['ujson.c', 'objToJSON.c', 'JSONtoObj.c', 'ultrajsonenc.c', 'ultrajsondec.c'],
include_dirs = ['./'])
def get_version():
filename = os.path.join(os.path.dirname(__file__), 'version.h')
@ -47,7 +46,6 @@ setup (name = 'ujson',
author_email="jonas.tarnstrom@esn.me",
download_url="http://github.com/esnme/ultrajson",
license="BSD License",
packages=['ujson'],
platforms=['any'],
url="http://www.esn.me",
classifiers=CLASSIFIERS,