From 31f66895046efdb2c36f0ad7a98edb2c6d47ad61 Mon Sep 17 00:00:00 2001 From: Tom Aarsen Date: Thu, 27 Oct 2022 13:10:32 +0200 Subject: [PATCH] Remove references to unused cli --- bitsandbytes/__main__.py | 3 --- bitsandbytes/debug_cli.py | 26 -------------------------- setup.py | 3 --- 3 files changed, 32 deletions(-) delete mode 100644 bitsandbytes/debug_cli.py diff --git a/bitsandbytes/__main__.py b/bitsandbytes/__main__.py index 175a30e..f1b7670 100644 --- a/bitsandbytes/__main__.py +++ b/bitsandbytes/__main__.py @@ -1,6 +1,3 @@ -# from bitsandbytes.debug_cli import cli - -# cli() import os import sys from warnings import warn diff --git a/bitsandbytes/debug_cli.py b/bitsandbytes/debug_cli.py deleted file mode 100644 index 4306bc0..0000000 --- a/bitsandbytes/debug_cli.py +++ /dev/null @@ -1,26 +0,0 @@ -import typer - -cli = typer.Typer() - - -@cli.callback() -def callback(): - """ - Awesome Portal Gun - """ - - -@cli.command() -def shoot(): - """ - Shoot the portal gun - """ - typer.echo("Shooting portal gun") - - -@cli.command() -def load(): - """ - Load the portal gun - """ - typer.echo("Loading portal gun") diff --git a/setup.py b/setup.py index 4f3df9c..b13b5a9 100644 --- a/setup.py +++ b/setup.py @@ -26,9 +26,6 @@ setup( keywords="gpu optimizers optimization 8-bit quantization compression", url="https://github.com/TimDettmers/bitsandbytes", packages=find_packages(), - entry_points={ - "console_scripts": ["debug_cuda = bitsandbytes.debug_cli:cli"], - }, package_data={"": libs}, long_description=read("README.md"), long_description_content_type="text/markdown",