init/setup: push initial window logo + uncomment the code for making it work

This commit is contained in:
Mathieu Virbel 2011-02-01 00:07:49 +01:00
parent 6dc1eb2536
commit b14251cbc9
4 changed files with 3 additions and 3 deletions

View File

@ -31,6 +31,7 @@ __all__ = (
__version__ = '0.9.1-dev'
import sys
from shutil import copytree
from getopt import getopt, GetoptError
from os import environ, mkdir
from os.path import dirname, join, basename, exists, expanduser
@ -163,11 +164,9 @@ if not 'KIVY_DOC_INCLUDE' in environ:
kivy_usermodules_dir = join(kivy_home_dir, 'mods')
if not exists(kivy_usermodules_dir):
mkdir(kivy_usermodules_dir)
'''
icon_dir = join(kivy_home_dir, 'icon')
if not exists(icon_dir):
shutil.copytree(join(kivy_data_dir, 'logo'), icon_dir)
'''
copytree(join(kivy_data_dir, 'logo'), icon_dir)
# configuration
from kivy.config import Config

BIN
kivy/data/logo/kivy32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
kivy/data/logo/kivy64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -205,6 +205,7 @@ setup(
'data/*.kv',
'data/fonts/*.ttf',
'data/images/*.png',
'data/logo/*.png',
'data/glsl/*.png',
'data/glsl/*.vs',
'data/glsl/*.fs',