diff --git a/Manifest.in b/Manifest.in deleted file mode 100644 index 54602b8..0000000 --- a/Manifest.in +++ /dev/null @@ -1 +0,0 @@ -recursive-include config * \ No newline at end of file diff --git a/conkeyscan/__init__.py b/conkeyscan/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/config/dict.txt b/conkeyscan/config/dict.txt similarity index 100% rename from config/dict.txt rename to conkeyscan/config/dict.txt diff --git a/conkeyscan.py b/conkeyscan/conkeyscan.py similarity index 99% rename from conkeyscan.py rename to conkeyscan/conkeyscan.py index a3a1f7b..4f2e103 100644 --- a/conkeyscan.py +++ b/conkeyscan/conkeyscan.py @@ -133,7 +133,7 @@ def main( url: "u", username: "usr", password: "pwd", - dict_path: "d" = pkg_resources.resource_filename("conkeyscan", "static/dict.txt"), + dict_path: "d" = pkg_resources.resource_filename("conkeyscan", "config/dict.txt"), disable_ssl_checks: "k" = True, rate_limit: "r" = 100, proxy: "p" = "", diff --git a/setup.py b/setup.py index 8b0aa4b..6f6e902 100644 --- a/setup.py +++ b/setup.py @@ -2,6 +2,8 @@ setup( name="conkeyscan", + author="Jan Friedli", + description="A Pentesters Confluence Keyword Scanner", version="{{VERSION_PLACEHOLDER}}", long_description=open("README.md").read(), long_description_content_type="text/markdown", @@ -16,7 +18,10 @@ "readchar", "PySocks>=1", ], - entry_points={"console_scripts": ["conkeyscan = conkeyscan:entry_point"]}, - packages=find_packages() + ["config"], + entry_points={ + "console_scripts": ["conkeyscan = conkeyscan.conkeyscan:entry_point"] + }, + packages=find_packages(), include_package_data=True, + package_data={"conkeyscan.config": ["*.txt"]}, )