From d6de9023902d1c2d7d63a10bdbc926fe203be796 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Sun, 8 Nov 2020 14:20:31 -0800 Subject: Properly specify onionshare_cli package_data --- cli/onionshare_cli/common.py | 3 ++- cli/setup.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cli/onionshare_cli/common.py b/cli/onionshare_cli/common.py index b621f3a1..a1213387 100644 --- a/cli/onionshare_cli/common.py +++ b/cli/onionshare_cli/common.py @@ -74,8 +74,9 @@ class Common: """ Returns the absolute path of a resource """ + self.log("Common", "get_resource_path", f"filename={filename}") path = resource_filename("onionshare_cli", os.path.join("resources", filename)) - self.log("Common", "get_resource_path", path) + self.log("Common", "get_resource_path", f"filename={filename}, path={path}") return path def get_tor_paths(self): diff --git a/cli/setup.py b/cli/setup.py index 21ed4e06..0ee54c6a 100644 --- a/cli/setup.py +++ b/cli/setup.py @@ -53,7 +53,7 @@ setuptools.setup( "onionshare_cli.web", ], package_data={ - "onionshare": [ + "onionshare_cli": [ "resources/*", "resources/static/*", "resources/static/css/*", -- cgit v1.2.3-54-g00ecf