packaging: rename to bl-imp

* ajust setup cfg/py to use the new name
. remove unnecessary variable from main
This commit is contained in:
nico 2021-04-17 13:48:25 +02:00
parent 34fcd52478
commit bc0921d388
Signed by: mightyBroccoli
GPG Key ID: 1F6495B44DABCE6E
3 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,5 @@
[metadata] [metadata]
name = blimp name = bl-imp
version = attr: blimp.__version__ version = attr: blimp.__version__
url = https://github.com/mightyBroccoli/blacklist_importer url = https://github.com/mightyBroccoli/blacklist_importer
licence = GPLv3 licence = GPLv3
@ -31,7 +31,7 @@ where = src
[options.entry_points] [options.entry_points]
console_scripts = console_scripts =
blimp = blimp.cli:cli bl-imp = blimp.cli:cli
[tool:pytest] [tool:pytest]
testpaths = tests testpaths = tests

View File

@ -2,7 +2,7 @@
from setuptools import setup from setuptools import setup
setup( setup(
name="Blimp", name="bl-imp",
install_requires=[ install_requires=[
"appdirs>=1.4", "appdirs>=1.4",
"requests>=2.25", "requests>=2.25",

View File

@ -17,7 +17,6 @@ class Blimp:
self.path = Path(user_cache_dir("blimp")) self.path = Path(user_cache_dir("blimp"))
self.url = "https://raw.githubusercontent.com/JabberSPAM/blacklist/master/blacklist.txt" self.url = "https://raw.githubusercontent.com/JabberSPAM/blacklist/master/blacklist.txt"
self.blacklist = "" self.blacklist = ""
self.apply_changes = False
self.etag_path = self.path.joinpath(".etag") self.etag_path = self.path.joinpath(".etag")
self.blacklist_path = self.path.joinpath("blacklist.txt") self.blacklist_path = self.path.joinpath("blacklist.txt")