-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (30 loc) · 1.01 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import os
import setuptools
import sys
if sys.version_info < (3, 6):
raise ImportError("MDLN requires Python 3.6 or later.")
about = {}
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), "mdln", "__about__.py"), "r") as f:
exec(f.read(), about)
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), "README.md"), "r") as f:
readme = f.read()
setuptools.setup(
name=about.get("__title__"),
version=about.get("__version__"),
author=about.get("__author__"),
description=about.get("__doc__").replace("\n", " ").strip(),
long_description=readme,
long_description_content_type="text/markdown",
license=about.get("__license__"),
keywords="mdln game engine pygame entity component framework",
url="https://github.com/qwertyquerty/MDLN",
packages=["mdln"],
python_requires=">=3.6",
project_urls={
"Documentation": "https://github.com/qwertyquerty/MDLN",
},
install_requires = [
"pygame>=2.2.0, <3",
"pyyaml==6.0"
]
)