🚀 builder info added

This commit is contained in:
ful1e5 2020-10-09 17:20:21 +05:30
parent 48e5b42df3
commit 047ecf63d6
3 changed files with 14 additions and 11 deletions

View file

@ -4,5 +4,9 @@
from .log import save_logs_to_file
save_logs_to_file()
__name__: str = "builder"
__version__: str = "1.0.1"
__author__: str = "Kaiz Khatri"
__info__: str = "⚡ Bibata Builder - v%s" % __version__
__email__: str = "kaizmandhu@gmail.com"
__url__: str = "https://github.com/ful1e5/Bibata_Cursor/"

View file

@ -1,12 +1,11 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import json
import shutil
import tempfile
from os import path
from os import path, mkdir
from . import __path__, __author__
@ -32,7 +31,7 @@ class ConfigProvider():
if path.exists(out_dir):
shutil.rmtree(out_dir)
os.mkdir(out_dir)
mkdir(out_dir)
# Checking Bitmaps directory
if not path.exists(bitmaps_dir):
@ -40,9 +39,9 @@ class ConfigProvider():
"⚠ BITMAPS NOT FOUND.\n\n`yarn install && yarn render` to Generates Bitmaps")
sys.exit(1)
self.bitmaps_dir: str = bitmaps_dir
self.bitmaps_dir: str = path.abspath(bitmaps_dir)
self.temp_out_dir: str = tempfile.mkdtemp()
self.out_dir: str = out_dir
self.out_dir: str = path.abspath(out_dir)
def get_windows_script(self, theme_name: str) -> str:
"""

View file

@ -1,16 +1,16 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from builder import __version__
from builder import __name__, __version__, __author__, __info__, __email__, __url__
from setuptools import setup, find_namespace_packages
setup(
name="builder",
name=__name__,
version=__version__,
description="Bibata theme builder 📦",
url="https://github.com/ful1e5/Bibata_Cursor/",
author="Kaiz Khatri",
author_email="kaizmandhu@gmail.com",
description=__info__,
url=__url__,
author=__author__,
author_email=__email__,
install_requires=["Pillow>=7.2.0", "clickgen>=1.1.7"],
packages=find_namespace_packages(include=['builder']),
classifiers=[