forked from volundmush/mudstring-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
56 lines (50 loc) · 1.81 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import os
from setuptools import setup
os.chdir(os.path.dirname(os.path.realpath(__file__)))
OS_WINDOWS = os.name == "nt"
def get_requirements():
"""
To update the requirements for MudTelnet, edit the requirements.txt file.
"""
with open("requirements.txt", "r") as f:
req_lines = f.readlines()
reqs = []
for line in req_lines:
# Avoid adding comments.
line = line.split("#")[0].strip()
if line:
reqs.append(line)
return reqs
# setup the package
setup(
name="mudstring",
version="0.5.0",
author="Volund",
maintainer="Volund",
url="https://github.com/volundmush/mudstring-python",
description="Simple monkey-patching library to make for amazing ANSI experiences in MUDs",
license="MIT",
long_description="""
Rich is already awesome for making pretty ANSI text, and with mudstring it can now be used as a basis for text
libraries used by MUDs and their brethren such as MUCK, MUX, MOO, and MUSH.
""",
packages=["mudstring"],
# install_requires=get_requirements(),
zip_safe=False,
classifiers=[
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Intended Audience :: Developers",
"Topic :: Games/Entertainment :: Multi-User Dungeons (MUD)",
"Topic :: Games/Entertainment :: Puzzle Games",
"Topic :: Games/Entertainment :: Role-Playing",
"Topic :: Games/Entertainment :: Simulation",
"Topic :: Software Development :: Libraries :: Application Frameworks",
],
python_requires=">=3.5",
project_urls={
"Source": "https://github.com/volundmush/mudstring-python",
"Issue tracker": "https://github.com/volundmush/mudstring-python/issues",
"Patreon": "https://www.patreon.com/volund",
},
)