rename to match PyPI project name
This commit is contained in:
parent
915adcf054
commit
732bee7b4f
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
from pypilot._version import VERSION
|
from ipilot._version import VERSION
|
||||||
|
|
||||||
dependencies: list = []
|
dependencies: list = []
|
||||||
with open("requirements.txt", "r", encoding="ascii") as dep_file:
|
with open("requirements.txt", "r", encoding="ascii") as dep_file:
|
||||||
@ -31,7 +31,7 @@ setup(
|
|||||||
tests_require=test_dependencies,
|
tests_require=test_dependencies,
|
||||||
entry_points={
|
entry_points={
|
||||||
"console_scripts": [
|
"console_scripts": [
|
||||||
"ipilot = pypilot.main:main",
|
"ipilot = ipilot.main:main",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
classifiers=[
|
classifiers=[
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
from pypilot.query_normalisation import get_public_ip
|
from ipilot.query_normalisation import get_public_ip
|
||||||
|
|
||||||
|
|
||||||
def parse_args() -> argparse.Namespace: # pragma: no cover
|
def parse_args() -> argparse.Namespace: # pragma: no cover
|
@ -4,14 +4,14 @@
|
|||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from pypilot.args import parse_args
|
from ipilot.args import parse_args
|
||||||
from pypilot.ip_info import (
|
from ipilot.ip_info import (
|
||||||
get_autonomous_system_number,
|
get_autonomous_system_number,
|
||||||
get_ip_information,
|
get_ip_information,
|
||||||
get_prefix_information,
|
get_prefix_information,
|
||||||
)
|
)
|
||||||
from pypilot.print_table import generate_prefix_string, print_table
|
from ipilot.print_table import generate_prefix_string, print_table
|
||||||
from pypilot.query_normalisation import is_ip_address, resolve_domain_name
|
from ipilot.query_normalisation import is_ip_address, resolve_domain_name
|
||||||
|
|
||||||
HEADER = """-----------------------------------------------
|
HEADER = """-----------------------------------------------
|
||||||
| IP Address Information Lookup Tool (iPilot) |
|
| IP Address Information Lookup Tool (iPilot) |
|
@ -1,12 +1,12 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "pypilot"
|
name = "ipilot"
|
||||||
version = "1.3.0"
|
version = "1.3.0"
|
||||||
description = "IP Information Lookup Tool"
|
description = "IP Information Lookup Tool"
|
||||||
authors = ["Luke Tainton <luke@tainton.uk>"]
|
authors = ["Luke Tainton <luke@tainton.uk>"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
||||||
[tool.poetry.scripts]
|
[tool.poetry.scripts]
|
||||||
app = "pypilot.main:main"
|
app = "ipilot.main:main"
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.8"
|
python = "^3.8"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
import requests_mock
|
import requests_mock
|
||||||
|
|
||||||
from pypilot.ip_info import ( # pragma: no cover
|
from ipilot.ip_info import ( # pragma: no cover
|
||||||
get_autonomous_system_number,
|
get_autonomous_system_number,
|
||||||
get_ip_information,
|
get_ip_information,
|
||||||
get_prefix_information,
|
get_prefix_information,
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
"""MODULE: Provides test cases for app/print_table.py."""
|
"""MODULE: Provides test cases for app/print_table.py."""
|
||||||
|
|
||||||
from pypilot.print_table import generate_prefix_string # pragma: no cover
|
from ipilot.print_table import generate_prefix_string # pragma: no cover
|
||||||
|
|
||||||
|
|
||||||
def test_generate_prefix_string_small() -> None:
|
def test_generate_prefix_string_small() -> None:
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
"""MODULE: Provides test cases for app/query_normalisation.py."""
|
"""MODULE: Provides test cases for app/query_normalisation.py."""
|
||||||
|
|
||||||
from pypilot.query_normalisation import ( # pragma: no cover
|
from ipilot.query_normalisation import ( # pragma: no cover
|
||||||
get_public_ip,
|
get_public_ip,
|
||||||
is_ip_address,
|
is_ip_address,
|
||||||
resolve_domain_name,
|
resolve_domain_name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user