Skip to content

Commit 3387f45

Browse files
committed
Update setup.py.
1 parent b6eaead commit 3387f45

File tree

1 file changed

+3
-19
lines changed

1 file changed

+3
-19
lines changed

setup.py

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -103,22 +103,6 @@ def check_sdl_version():
103103
)
104104

105105

106-
if sys.version_info < (3, 5):
107-
error = """
108-
This version of python-tcod only supports Python 3.5 and above.
109-
The last version supporting Python 2.7/3.4 was 'tcod==6.0.7'.
110-
111-
The end-of-life for Python 2 is the year 2020.
112-
https://pythonclock.org/
113-
114-
Python {py} detected.
115-
""".format(
116-
py=".".join([str(v) for v in sys.version_info[:3]])
117-
)
118-
119-
print(error)
120-
sys.exit(1)
121-
122106
if not os.path.exists("libtcod/src"):
123107
print("Libtcod submodule is uninitialized.")
124108
print("Did you forget to run 'git submodule update --init'?")
@@ -133,8 +117,8 @@ def check_sdl_version():
133117
name="tcod",
134118
version=get_version(),
135119
author="Kyle Stewart",
136-
author_email="4B796C65+tdl@gmail.com",
137-
description="Pythonic cffi port of libtcod.",
120+
author_email="4b796c65+tcod@gmail.com",
121+
description="The official Python port of libtcod.",
138122
long_description=get_long_description(),
139123
url="https://github.com/libtcod/python-tcod",
140124
project_urls={
@@ -178,7 +162,7 @@ def check_sdl_version():
178162
"Topic :: Multimedia :: Graphics",
179163
"Topic :: Software Development :: Libraries :: Python Modules",
180164
],
181-
keywords="roguelike cffi Unicode libtcod fov heightmap namegen",
165+
keywords="roguelike cffi Unicode libtcod field-of-view pathfinding",
182166
platforms=["Windows", "MacOS", "Linux"],
183167
license="Simplified BSD License",
184168
)

0 commit comments

Comments
 (0)