mirror of
https://github.com/markqvist/Sideband.git
synced 2024-12-25 07:29:32 -05:00
Add module path on desktop
This commit is contained in:
parent
24c6e11438
commit
feafb74717
@ -1,10 +1,16 @@
|
||||
import RNS
|
||||
import LXMF
|
||||
import time
|
||||
import sys
|
||||
import os
|
||||
|
||||
from kivy.logger import Logger, LOG_LEVELS
|
||||
Logger.setLevel(LOG_LEVELS["error"])
|
||||
|
||||
if RNS.vendor.platformutils.get_platform() != "android":
|
||||
local = os.path.dirname(__file__)
|
||||
sys.path.append(local)
|
||||
|
||||
from kivymd.app import MDApp
|
||||
from kivy.core.window import Window
|
||||
from kivy.base import EventLoop
|
||||
|
2
setup.py
2
setup.py
@ -46,6 +46,8 @@ setuptools.setup(
|
||||
long_description_content_type="text/markdown",
|
||||
url="https://unsigned.io/sideband",
|
||||
packages=setuptools.find_packages(),
|
||||
package_data={'': ['kivymd/fonts/*','kivymd/images/*']},
|
||||
include_package_data=True,
|
||||
classifiers=[
|
||||
"Programming Language :: Python :: 3",
|
||||
"License :: Other/Proprietary License",
|
||||
|
Loading…
Reference in New Issue
Block a user