|
1 | 1 | #!/usr/bin/env python |
2 | 2 |
|
3 | | -from setuptools import setup |
| 3 | +from setuptools import setup, find_packages |
4 | 4 | from distutils.core import Extension |
5 | 5 |
|
6 | 6 |
|
7 | 7 | module = Extension('confluent_kafka.cimpl', |
8 | 8 | include_dirs = ['/usr/local/include'], |
9 | 9 | 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']) |
11 | 13 |
|
12 | | -setup (name='confluent-kafka', |
13 | | - version='0.9.1', |
14 | | - description='Confluent\'s Apache Kafka client for Python', |
15 | | - author='Confluent Inc', |
16 | | - |
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 | + |
| 19 | + url='https://github.com/confluentinc/confluent-kafka-python', |
| 20 | + ext_modules=[module], |
| 21 | + packages=find_packages()) |
0 commit comments