summaryrefslogtreecommitdiff
path: root/dev-python/hiredis/files/hiredis-0.1.1-system-libs.patch
blob: 298f5cf7ee2e28daff2ef22c3f8fccb1f5e83dec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- hiredis-0.1.1/setup.py
+++ hiredis-0.1.1/setup.py
@@ -20,13 +20,9 @@
         if self.distribution.has_ext_modules():
           self.run_command('build_ext')
 
-lib = ("hiredis", {
-  "sources": ["vendor/hiredis/%s.c" % src for src in ("hiredis", "net", "sds")],
-  "include_dirs": ["vendor/hiredis"]})
-
 ext = Extension("hiredis.hiredis",
   sources=glob.glob("src/*.c"),
-  include_dirs=["src", "vendor"],
+  include_dirs=["src"],
   libraries=["hiredis"])
 
 setup(
@@ -39,7 +35,6 @@
   keywords=["Redis"],
   license="BSD",
   packages=["hiredis"],
-  libraries=[lib],
   ext_modules=[ext],
 
   # Override "install_lib" command