diff options
author | Micah Lee <micah@micahflee.com> | 2020-11-08 14:20:31 -0800 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2020-11-08 14:20:31 -0800 |
commit | d6de9023902d1c2d7d63a10bdbc926fe203be796 (patch) | |
tree | a6dbc4904d4a0ed2d366027b3577058252b0acc9 | |
parent | 36191b3bedef67ed8b71b982908b32b2f78cbc86 (diff) | |
download | onionshare-d6de9023902d1c2d7d63a10bdbc926fe203be796.tar.gz onionshare-d6de9023902d1c2d7d63a10bdbc926fe203be796.zip |
Properly specify onionshare_cli package_data
-rw-r--r-- | cli/onionshare_cli/common.py | 3 | ||||
-rw-r--r-- | 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/*", |