Skip to content

Commit 46a4e20

Browse files
committed
Merge pull request #5 from jofusa/jdennison/c-extention-paths
Removed hard coded c extentions lib/include paths
2 parents 5184001 + 43e084e commit 46a4e20

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ Build
7070

7171
python setup.by build
7272

73+
If librdkafka is installed in a non-standard location provide the include and library directories with:
7374

75+
CPLUS_INCLUDE_PATH=/path/to/include LIBRARY_PATH=/path/to/lib python setup.py ...
7476

7577

7678
Tests

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55

66

77
module = Extension('confluent_kafka.cimpl',
8-
include_dirs = ['/usr/local/include'],
98
libraries= ['rdkafka'],
10-
library_dirs = ['/usr/local/lib'],
119
sources=['confluent_kafka/src/confluent_kafka.c',
1210
'confluent_kafka/src/Producer.c',
1311
'confluent_kafka/src/Consumer.c'])

0 commit comments

Comments
 (0)