Skip to content

Commit b2faa89

Browse files
committed
Use poetry
1 parent 8b331e6 commit b2faa89

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
# only use poetry for dependency management
7-
package-mode = false
7+
#package-mode = false
8+
packages = [{include = "confluent_kafka", from = "src"}]
89

910
[tool.poetry.dependencies]
1011
attrs = {version = ">=24", optional = true}

tools/source-package-verification.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
#
66
set -e
77

8-
pip install poetry
9-
poetry install --all-extras
10-
pip install tests/trivup/trivup-0.12.7.tar.gz
118
pip install -U build
129

1310
lib_dir=dest/runtimes/$OS_NAME-$ARCH/native
@@ -17,7 +14,9 @@ export LDFLAGS="$LDFLAGS -L${PWD}/${lib_dir}"
1714
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD/$lib_dir"
1815
export DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:$PWD/$lib_dir"
1916

20-
python3 -m pip install .
17+
pip install poetry
18+
poetry install --all-extras
19+
pip install tests/trivup/trivup-0.12.7.tar.gz
2120

2221
if [[ $OS_NAME == linux && $ARCH == x64 ]]; then
2322
if [[ -z $TEST_CONSUMER_GROUP_PROTOCOL ]]; then

0 commit comments

Comments
 (0)