Skip to content

Commit cf71a87

Browse files
author
esfiam
committed
🔧 Fix CLI entry point issue - v1.0.1
- Move cli.py into deeprecon package - Fix entry points in setup.py and pyproject.toml - Update imports to use relative imports - Bump version to 1.0.1 - CLI now works properly with deeprecon command
1 parent a76193f commit cf71a87

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

deeprecon/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from .config import DEFAULT_LANGUAGE, SUPPORTED_LANGUAGES
22

3-
__version__ = '1.0.0'
3+
__version__ = '1.0.1'
44
__author__ = 'DeepRecon Team'
55

66
import json

cli.py renamed to deeprecon/cli.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
import argparse
44
import sys
5-
from deeprecon import set_language, get_message
6-
from deeprecon.resolve import resolve_all
7-
from deeprecon.dns import get_dns_records
8-
from deeprecon.whois import whois_domain, whois_ip
9-
from deeprecon.geoip import geoip
10-
from deeprecon.ssl import get_ssl_info, ssl_grade
11-
from deeprecon.availability import ping, get_http_status
12-
from deeprecon.security import is_filtered, has_waf, get_security_score
13-
from deeprecon.tech_detect import detect_technologies
14-
from deeprecon.utils.formatter import to_json, export_to_csv
15-
from deeprecon.utils.validator import validate_domain, validate_ip
5+
from . import set_language, get_message
6+
from .resolve import resolve_all
7+
from .dns import get_dns_records
8+
from .whois import whois_domain, whois_ip
9+
from .geoip import geoip
10+
from .ssl import get_ssl_info, ssl_grade
11+
from .availability import ping, get_http_status
12+
from .security import is_filtered, has_waf, get_security_score
13+
from .tech_detect import detect_technologies
14+
from .utils.formatter import to_json, export_to_csv
15+
from .utils.validator import validate_domain, validate_ip
1616

1717
def main():
1818
parser = argparse.ArgumentParser(

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "deeprecon"
7-
version = "1.0.0"
7+
version = "1.0.1"
88
authors = [
99
{name = "Mohammad Rasol Esfandiari", email = "mrasolesfandiari@gmail.com"},
1010
]
1111
description = "A powerful, modular Python library for comprehensive domain and IP analysis"
1212
readme = "README.md"
13-
license = {text = "MIT"}
13+
license = {file = "LICENSE"}
1414
requires-python = ">=3.8"
1515
classifiers = [
1616
"Development Status :: 5 - Production/Stable",
@@ -59,10 +59,10 @@ Changelog = "https://github.com/DeepPythonist/DeepRecon/blob/main/CHANGELOG.md"
5959
"Bug Reports" = "https://github.com/DeepPythonist/DeepRecon/issues"
6060

6161
[project.scripts]
62-
deeprecon = "cli:main"
62+
deeprecon = "deeprecon.cli:main"
6363

6464
[tool.setuptools]
65-
packages = ["deeprecon"]
65+
packages = ["deeprecon", "deeprecon.utils", "deeprecon.locales"]
6666
include-package-data = true
6767

6868
[tool.setuptools.package-data]

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
setup(
1313
name="deeprecon",
14-
version="1.0.0",
14+
version="1.0.1",
1515
author="Mohammad Rasol Esfandiari",
1616
author_email="mrasolesfandiari@gmail.com",
1717
description="A powerful, modular Python library for comprehensive domain and IP analysis",
@@ -41,7 +41,7 @@
4141
},
4242
entry_points={
4343
'console_scripts': [
44-
'deeprecon=cli:main',
44+
'deeprecon=deeprecon.cli:main',
4545
],
4646
},
4747
classifiers=[

0 commit comments

Comments
 (0)