mirror of
https://github.com/quantum5/2048.git
synced 2025-04-24 04:21:58 -04:00
release 0.3.3: fix crash on python 3.8+
This commit is contained in:
parent
4e9c3b2c0d
commit
968fd0762e
|
@ -1,12 +1,8 @@
|
||||||
import os
|
import os
|
||||||
import tempfile
|
import tempfile
|
||||||
import time
|
|
||||||
|
|
||||||
import pygame
|
import pygame
|
||||||
|
|
||||||
# Accurate timer for platform.
|
|
||||||
timer = [time.time, time.clock][os.name == 'nt']
|
|
||||||
|
|
||||||
# Get the temp file dir.
|
# Get the temp file dir.
|
||||||
tempdir = tempfile.gettempdir()
|
tempdir = tempfile.gettempdir()
|
||||||
NAME = '2048'
|
NAME = '2048'
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -7,7 +7,7 @@ with open(os.path.join(os.path.dirname(__file__), 'README.md')) as f:
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='2048',
|
name='2048',
|
||||||
version='0.3.1',
|
version='0.3.3',
|
||||||
packages=['_2048'],
|
packages=['_2048'],
|
||||||
package_data={
|
package_data={
|
||||||
'_2048': ['*.ttf'],
|
'_2048': ['*.ttf'],
|
||||||
|
@ -37,7 +37,7 @@ setup(
|
||||||
'Environment :: Win32 (MS Windows)',
|
'Environment :: Win32 (MS Windows)',
|
||||||
'Environment :: X11 Applications',
|
'Environment :: X11 Applications',
|
||||||
'Intended Audience :: End Users/Desktop',
|
'Intended Audience :: End Users/Desktop',
|
||||||
'License :: OSI Approved :: GNU Affero General Public License v3',
|
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
|
||||||
'Operating System :: Microsoft :: Windows',
|
'Operating System :: Microsoft :: Windows',
|
||||||
'Operating System :: POSIX :: Linux',
|
'Operating System :: POSIX :: Linux',
|
||||||
'Programming Language :: Python',
|
'Programming Language :: Python',
|
||||||
|
|
Loading…
Reference in a new issue