mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Properly specify onionshare_cli package_data
This commit is contained in:
parent
36191b3bed
commit
d6de902390
@ -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):
|
||||
|
@ -53,7 +53,7 @@ setuptools.setup(
|
||||
"onionshare_cli.web",
|
||||
],
|
||||
package_data={
|
||||
"onionshare": [
|
||||
"onionshare_cli": [
|
||||
"resources/*",
|
||||
"resources/static/*",
|
||||
"resources/static/css/*",
|
||||
|
Loading…
Reference in New Issue
Block a user