release 0.3.3: fix crash on python 3.8+

This commit is contained in:
Quantum 2021-01-12 18:56:42 -05:00
parent 4e9c3b2c0d
commit 968fd0762e
2 changed files with 2 additions and 6 deletions

View file

@ -1,12 +1,8 @@
import os
import tempfile
import time
import pygame
# Accurate timer for platform.
timer = [time.time, time.clock][os.name == 'nt']
# Get the temp file dir.
tempdir = tempfile.gettempdir()
NAME = '2048'

View file

@ -7,7 +7,7 @@ with open(os.path.join(os.path.dirname(__file__), 'README.md')) as f:
setup(
name='2048',
version='0.3.1',
version='0.3.3',
packages=['_2048'],
package_data={
'_2048': ['*.ttf'],
@ -37,7 +37,7 @@ setup(
'Environment :: Win32 (MS Windows)',
'Environment :: X11 Applications',
'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 :: POSIX :: Linux',
'Programming Language :: Python',