Skip to content

Commit

Permalink
build: Define kuberntes as a group and Add it to all-platforms group
Browse files Browse the repository at this point in the history
  • Loading branch information
roda82 committed Nov 9, 2023
1 parent 37cb3b8 commit 11c02bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions powerapi/cli/binding_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# pylint: disable=R1702
from powerapi.exception import UnsupportedActorTypeException, UnexistingActorException, TargetActorAlreadyUsed
from powerapi.processor.processor_actor import ProcessorActor
from powerapi.puller import PullerActor
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ authors = [

dependencies = [
"pyzmq >= 18.1.0",
"setproctitle >= 1.1.8",
"kubernetes >= 27.0.2"
"setproctitle >= 1.1.8"
]

[project.optional-dependencies]
Expand Down Expand Up @@ -60,10 +59,11 @@ prometheus = ["prometheus-client >= 0.9.0"]

# Plaforms:
libvirt = ["libvirt-python >= 6.1.0"] # requires libvirt lib/headers, do not include by default.
kubernetes = ["kubernetes >= 27.0.2"]

# Aliases:
all-databases = ["powerapi[mongodb, influxdb, opentsdb, prometheus]"]
all-platforms = []
all-platforms = ["kubernetes"]
everything = ["powerapi[all-databases, all-platforms]"]
devel = ["powerapi[everything, test, docs, lint]"]

Expand Down

0 comments on commit 11c02bd

Please sign in to comment.