Skip to content

Commit 63440af

Browse files
committed
PR Comments
1 parent a384768 commit 63440af

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ all:
55

66

77
clean:
8-
python setup.py clean
8+
pip cache purge
99
rm -rf dist
1010
make -C docs clean
1111

pyproject.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,34 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "confluent-kafka"
7-
version = "2.3.0"
8-
description = "\"Confluent's Python client for Apache Kafka\""
7+
version = "2.4.0"
8+
description = "Confluent's Python client for Apache Kafka"
99
classifiers = [
1010
"Development Status :: 5 - Production/Stable",
1111
"Intended Audience :: Developers",
1212
"License :: OSI Approved :: Apache Software License",
1313
"Programming Language :: Python",
1414
"Programming Language :: Python :: 3",
1515
"Topic :: Software Development :: Libraries :: Python Modules"]
16-
dependencies = [ "futures;python_version<\"3.2\"", "enum34;python_version<\"3.4\"",]
16+
dependencies = []
1717
readme = "README.md"
1818
license = { file = "LICENSE" }
1919
requires-python = ">=3.7"
2020

2121
[[project.authors]]
22-
name = "\"Confluent Inc\""
22+
name = "Confluent Inc."
2323
email = "support@confluent.io"
2424

2525
[project.urls]
2626
Homepage = "https://github.com/confluentinc/confluent-kafka-python"
2727

2828
[project.optional-dependencies]
2929
schema-registry = [ "requests",]
30-
avro = [ "fastavro>=0.23.0,<1.0;python_version<\"3.0\"", "fastavro>=1.0;python_version>\"3.0\"", "avro>=1.11.1,<2", "requests",]
31-
json = [ "pyrsistent==0.16.1;python_version<\"3.0\"", "pyrsistent;python_version>\"3.0\"", "jsonschema", "requests",]
30+
avro = [ "fastavro>=1.0", "avro>=1.11.1,<2", "requests",]
31+
json = [ "pyrsistent", "jsonschema", "requests",]
3232
protobuf = [ "protobuf", "requests",]
33-
dev = [ "pytest==4.6.4;python_version<\"3.0\"", "pytest;python_version>=\"3.0\"", "pytest-timeout", "flake8", "fastavro>=0.23.0,<1.0;python_version<\"3.0\"", "fastavro>=1.0;python_version>\"3.0\"", "avro>=1.11.1,<2", "requests",]
34-
doc = [ "sphinx", "sphinx-rtd-theme", "fastavro>=0.23.0,<1.0;python_version<\"3.0\"", "fastavro>=1.0;python_version>\"3.0\"", "avro>=1.11.1,<2", "requests",]
33+
dev = [ "pytest", "pytest-timeout", "flake8", "fastavro>=1.0", "avro>=1.11.1,<2", "requests",]
34+
doc = [ "sphinx", "sphinx-rtd-theme", "fastavro>=1.0", "avro>=1.11.1,<2", "requests",]
3535

3636
[tool.setuptools]
3737
include-package-data = false

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
from distutils.core import Extension
66
import platform
77

8-
mod_dir = os.path.join('src', 'confluent_kafka')
8+
work_dir = os.path.dirname(os.path.realpath(__file__))
9+
mod_dir = os.path.join(work_dir, 'src', 'confluent_kafka')
910
ext_dir = os.path.join(mod_dir, 'src')
1011

1112
# On Un*x the library is linked as -lrdkafka,

0 commit comments

Comments
 (0)