From 968fd0762e0ac39a9bf079c94b3d32bffa770656 Mon Sep 17 00:00:00 2001 From: Quantum Date: Tue, 12 Jan 2021 18:56:42 -0500 Subject: [PATCH] release 0.3.3: fix crash on python 3.8+ --- _2048/utils.py | 4 ---- setup.py | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/_2048/utils.py b/_2048/utils.py index 82b85ad..c1da83e 100644 --- a/_2048/utils.py +++ b/_2048/utils.py @@ -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' diff --git a/setup.py b/setup.py index ef9e4c9..c0e02b7 100644 --- a/setup.py +++ b/setup.py @@ -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',