From bc0921d388d66810c3b41848a1a98925f1f06724 Mon Sep 17 00:00:00 2001 From: nico wellpott Date: Sat, 17 Apr 2021 13:48:25 +0200 Subject: [PATCH] packaging: rename to bl-imp * ajust setup cfg/py to use the new name . remove unnecessary variable from main --- setup.cfg | 4 ++-- setup.py | 2 +- src/blimp/main.py | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/setup.cfg b/setup.cfg index 920adaf..b53b41b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [metadata] -name = blimp +name = bl-imp version = attr: blimp.__version__ url = https://github.com/mightyBroccoli/blacklist_importer licence = GPLv3 @@ -31,7 +31,7 @@ where = src [options.entry_points] console_scripts = - blimp = blimp.cli:cli + bl-imp = blimp.cli:cli [tool:pytest] testpaths = tests diff --git a/setup.py b/setup.py index 36e690b..e1c29d3 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup setup( - name="Blimp", + name="bl-imp", install_requires=[ "appdirs>=1.4", "requests>=2.25", diff --git a/src/blimp/main.py b/src/blimp/main.py index 93fdc29..1d0c29b 100644 --- a/src/blimp/main.py +++ b/src/blimp/main.py @@ -17,7 +17,6 @@ class Blimp: self.path = Path(user_cache_dir("blimp")) self.url = "https://raw.githubusercontent.com/JabberSPAM/blacklist/master/blacklist.txt" self.blacklist = "" - self.apply_changes = False self.etag_path = self.path.joinpath(".etag") self.blacklist_path = self.path.joinpath("blacklist.txt")