Skip to content

Commit 6936d9f

Browse files
committed
Moved sources to src/ to avoid cimpl package collision
1 parent e6d3877 commit 6936d9f

File tree

8 files changed

+13
-11
lines changed

8 files changed

+13
-11
lines changed

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
include README.md
2-
include *.c *.h
2+
include confluent_kafka/src/*.[ch]
33

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

setup.py

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
#!/usr/bin/env python
22

3-
from setuptools import setup
3+
from setuptools import setup, find_packages
44
from distutils.core import Extension
55

66

77
module = Extension('confluent_kafka.cimpl',
88
include_dirs = ['/usr/local/include'],
99
libraries= ['rdkafka'],
10-
sources=['confluent_kafka/cimpl/confluent_kafka.c', 'confluent_kafka/cimpl/Producer.c', 'confluent_kafka/cimpl/Consumer.c'])
10+
sources=['confluent_kafka/src/confluent_kafka.c',
11+
'confluent_kafka/src/Producer.c',
12+
'confluent_kafka/src/Consumer.c'])
1113

12-
setup (name='confluent-kafka',
13-
version='0.9.1',
14-
description='Confluent\'s Apache Kafka client for Python',
15-
author='Confluent Inc',
16-
author_email='[email protected]',
17-
url='https://github.com/confluentinc/confluent-kafka-python',
18-
ext_modules=[module],
19-
packages=['confluent_kafka', 'confluent_kafka.cimpl', 'confluent_kafka.kafkatest'])
14+
setup(name='confluent-kafka',
15+
version='0.9.1',
16+
description='Confluent\'s Apache Kafka client for Python',
17+
author='Confluent Inc',
18+
author_email='[email protected]',
19+
url='https://github.com/confluentinc/confluent-kafka-python',
20+
ext_modules=[module],
21+
packages=find_packages())

0 commit comments

Comments
 (0)