📦 Import fix

This commit is contained in:
ful1e5 2020-10-24 10:03:29 +05:30
parent 021a465cdc
commit 59ca6519a2
3 changed files with 12 additions and 12 deletions

View file

@ -26,9 +26,9 @@ windows_cursors = {
}
class Bundler():
class Bundler:
"""
Create crisp package for Bibata Windows & X11 packages 📦.
Create crisp package for Bibata Windows & X11 packages 📦.
"""
def __init__(self, config: ConfigProvider) -> None:

View file

@ -7,8 +7,8 @@ import shutil
from os import path, mkdir
import tempfile
from builder import __path__
from builder.pkg_info import info
from . import __path__
from .pkg_info import info
# Build Config
delay = 35

View file

@ -6,9 +6,9 @@ from .config import ConfigProvider, hotspots, sizes, delay
from clickgen import build_x11_cursor_theme, build_cursor_theme, build_win_cursor_theme
class CursorBuilder():
class CursorBuilder:
"""
Build Bibata Windows & X11 cursors 🚀.
Build Bibata Windows & X11 cursors 🚀.
"""
def __init__(self, config: ConfigProvider) -> None:
@ -19,7 +19,7 @@ class CursorBuilder():
def build_x11_cursors(self) -> None:
""" Build `x11` platform cursors. """
print('🌈 Building %s Theme ...' % self.__name)
print("🌈 Building %s Theme ..." % self.__name)
build_x11_cursor_theme(
name=self.__name,
image_dir=self.__bitmaps_dir,
@ -27,14 +27,14 @@ class CursorBuilder():
hotspots=hotspots,
out_path=self.__tmpdir,
archive=False,
delay=delay
delay=delay,
)
self.__bundler.x11_bundle()
def build_win_cursors(self) -> None:
""" Build `Windows` platform cursors. """
print('🌈 Building %s Theme ...' % self.__name)
print("🌈 Building %s Theme ..." % self.__name)
build_win_cursor_theme(
name=self.__name,
image_dir=self.__bitmaps_dir,
@ -42,14 +42,14 @@ class CursorBuilder():
hotspots=hotspots,
out_path=self.__tmpdir,
archive=False,
delay=delay
delay=delay,
)
self.__bundler.win_bundle()
def build_cursors(self) -> None:
""" Build `x11` & `Windows` platform cursors. """
print('🌈 Building %s Theme ...' % self.__name)
print("🌈 Building %s Theme ..." % self.__name)
build_cursor_theme(
name=self.__name,
image_dir=self.__bitmaps_dir,
@ -57,7 +57,7 @@ class CursorBuilder():
hotspots=hotspots,
out_path=self.__tmpdir,
archive=False,
delay=delay
delay=delay,
)
self.__bundler.bundle()