mirror of
https://github.com/markqvist/Sideband.git
synced 2025-05-15 04:42:28 -04:00
Updated repository
This commit is contained in:
parent
55baede2fc
commit
b301dc569b
5 changed files with 19 additions and 4 deletions
15
setup.py
15
setup.py
|
@ -47,6 +47,20 @@ def glob_paths(pattern):
|
|||
|
||||
return out_files
|
||||
|
||||
def glob_share():
|
||||
out_files = []
|
||||
src_path = os.path.join(os.path.dirname(__file__), "sbapp/share")
|
||||
print(src_path)
|
||||
|
||||
for root, dirs, files in os.walk(src_path):
|
||||
for file in files:
|
||||
filepath = os.path.join(str(Path(*Path(root).parts[1:])), file)
|
||||
|
||||
if not "mirrors/unsigned.io" in str(filepath):
|
||||
out_files.append(filepath.split(f"sbapp{os.sep}")[1])
|
||||
|
||||
return out_files
|
||||
|
||||
packages = setuptools.find_packages(
|
||||
exclude=[
|
||||
"sbapp.plyer.platforms.android",
|
||||
|
@ -63,6 +77,7 @@ package_data = {
|
|||
"kivymd/images/*",
|
||||
"kivymd/*",
|
||||
"mapview/icons/*",
|
||||
*glob_share(),
|
||||
*glob_paths(".kv")
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue