mirror of https://github.com/apache/kafka.git
MINOR: kafkatest add manifest
This patch makes it possible to publish kafkatest (system test package) to pypi and use it as a library in other projects by: - including necessary static resources with the package - renaming the version to conform w/PEP 440, since python packaging tools reject the current version name Author: Geoff Anderson <geoff@confluent.io> Reviewers: Ewen Cheslack-Postava, Gwen Shapira Closes #173 from granders/minor-kafkatest-add-manifest
This commit is contained in:
parent
8956004a51
commit
9c936b186d
|
@ -0,0 +1,16 @@
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
|
# contributor license agreements. See the NOTICE file distributed with
|
||||||
|
# this work for additional information regarding copyright ownership.
|
||||||
|
# The ASF licenses this file to You under the Apache License, Version 2.0
|
||||||
|
# (the "License"); you may not use this file except in compliance with
|
||||||
|
# the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
recursive-include kafkatest/services/templates *.properties
|
|
@ -174,7 +174,6 @@ class ConsoleConsumer(BackgroundThreadService):
|
||||||
if self.message_validator is not None:
|
if self.message_validator is not None:
|
||||||
msg = self.message_validator(msg)
|
msg = self.message_validator(msg)
|
||||||
if msg is not None:
|
if msg is not None:
|
||||||
self.logger.debug("consumed a message: " + str(msg))
|
|
||||||
self.messages_consumed[idx].append(msg)
|
self.messages_consumed[idx].append(msg)
|
||||||
|
|
||||||
def start_node(self, node):
|
def start_node(self, node):
|
||||||
|
|
|
@ -17,11 +17,12 @@
|
||||||
from setuptools import find_packages, setup
|
from setuptools import find_packages, setup
|
||||||
|
|
||||||
setup(name="kafkatest",
|
setup(name="kafkatest",
|
||||||
version="0.8.3-SNAPSHOT",
|
version="0.8.3.dev0",
|
||||||
description="Apache Kafka System Tests",
|
description="Apache Kafka System Tests",
|
||||||
author="Apache Kafka",
|
author="Apache Kafka",
|
||||||
platforms=["any"],
|
platforms=["any"],
|
||||||
license="apache2.0",
|
license="apache2.0",
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
requires=["ducktape(==0.3.1)"]
|
include_package_data=True,
|
||||||
|
install_requires=["ducktape==0.3.2"]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue