Lines 1-16
Link Here
|
1 |
--- ./setup.py.orig 2014-01-06 19:08:27.000000000 +0400 |
1 |
--- setup.py.orig 2015-04-03 14:08:45 UTC |
2 |
+++ ./setup.py 2014-01-07 15:36:44.000000000 +0400 |
2 |
+++ setup.py |
3 |
@@ -41,7 +41,8 @@ |
3 |
@@ -45,7 +45,9 @@ lib = ("hiredis_for_hiredis_py", { |
4 |
|
4 |
|
5 |
ext = Extension("hiredis.hiredis", |
5 |
ext = Extension("hiredis.hiredis", |
6 |
sources=glob.glob("src/*.c"), |
6 |
sources=glob.glob("src/*.c"), |
7 |
- include_dirs=["vendor"]) |
7 |
- include_dirs=["vendor"]) |
8 |
+ include_dirs=["%%LOCALBASE%%/include"], |
8 |
+ include_dirs=["%%LOCALBASE%%/include"], |
9 |
+ library_dirs=["%%LOCALBASE%%/lib"],) |
9 |
+ library_dirs=["%%LOCALBASE%%/lib"], |
|
|
10 |
+ libraries=["hiredis"],) |
10 |
|
11 |
|
11 |
setup( |
12 |
setup( |
12 |
name="hiredis", |
13 |
name="hiredis", |
13 |
@@ -53,7 +54,6 @@ |
14 |
@@ -57,7 +59,6 @@ setup( |
14 |
keywords=["Redis"], |
15 |
keywords=["Redis"], |
15 |
license="BSD", |
16 |
license="BSD", |
16 |
packages=["hiredis"], |
17 |
packages=["hiredis"], |