Skip to content

Commit 95437bc

Browse files
committed
0.28 release
1 parent 27c540c commit 95437bc

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

binpythonfull.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@
99
####################################
1010
#build configure
1111

12-
ver="0.28-dev-full"
12+
ver="0.28-releases-full"
1313

1414
libs_warning="1"
1515
#1 is ture 0 is false.
1616
#Changing the value to 0 will close the prompt that the library does not exist
1717

18-
1918
buildversion = "plus" #plus version and standard version
2019

2120
releases_ver="offical" + buildversion + "-building"
21+
2222
importlibs="os" #Don't use "import xxx"
2323
#Imported library name, please use "importlibs="<library name>" instead of "import <library name>"
2424
#Please note: The "importlibs" function does not support loading functions (such as from xxxx import xxxx, if necessary, please write it in the following location. However, please note that this operation may have the risk of error reporting, please report issues or solve it yourself
@@ -82,6 +82,11 @@ def self_import(name):
8282
import tkinter as tk
8383
from tkinter import *
8484
import turtle
85+
def importpygame():
86+
import pygame
87+
import pygame.locals
88+
import pyglet
89+
null = importpygame
8590
#warning for gui
8691
except ImportError:
8792
if libs_warning == "1":
@@ -130,7 +135,10 @@ def binpython_shell():
130135
print("Type help() for interactive help, or help(object) for help about object.")
131136
elif pycmd == 'copyright':
132137
print("""
133-
Copyright (c) 2001-2022 Python Software Foundation and BINPython xingyujie(https://github.com/xingyujie/binpython).
138+
Copyright (c) 2022 BINPython xingyujie(https://github.com/xingyujie/binpython).
139+
All Rights Reserved.
140+
141+
Copyright (c) 2001-2022 Python Software Foundation.
134142
All Rights Reserved.
135143
136144
Copyright (c) 2000 BeOpen.com.
@@ -427,7 +435,7 @@ def TestPlatform():
427435
print(platform.uname())
428436
TestPlatform()
429437
except:
430-
binpython_welcome_text()
438+
pass
431439
try:
432440
filename = open("startupfile.conf",encoding = "utf-8")
433441
startupcode = open(filename.read(),encoding = "utf-8")

0 commit comments

Comments
 (0)