packaging: rename to bl-imp
* ajust setup cfg/py to use the new name . remove unnecessary variable from main
This commit is contained in:
parent
34fcd52478
commit
bc0921d388
|
@ -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
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -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",
|
||||||
|
|
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue