-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
65 lines (59 loc) · 1.78 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
57
58
59
60
61
62
63
64
65
from tkterm import __version__
from setuptools import setup, find_packages
def read_from_file(path):
"""Return content from file"""
with open(path, "r") as f:
text = f.read()
return text
attrs = dict(
name="tkterm",
version=__version__,
packages=find_packages(),
include_package_data=True,
long_description=read_from_file("README.md"),
description="Terminal emulator built on Tkinter library.",
long_description_content_type="text/markdown",
author="Dhanoo Surasarang",
author_email="[email protected]",
url="https://github.com/dhanoosu/tkterm",
license="MIT",
keywords=[
"linux",
"shell",
"bash",
"cli",
"gui",
"terminal",
"command-line",
"tkinter",
"subprocess",
"tkinter-graphic-interface",
"terminal-emulator",
"ttk",
"commandprompt",
"tkinter-gui",
"tkinter-python",
"tkinter-terminal",
"tk-terminal",
"tkinter-shell",
"tkterminal"
],
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3"
],
project_urls={
"Documentation": "https://github.com/dhanoosu/TkTerm/blob/master/README.md",
"Bug Tracker": "https://github.com/dhanoosu/TkTerm/issues",
},
include_package_data_info=True,
)
if "b" in __version__:
attrs["classifiers"].insert(0, "Development Status :: 4 - Beta")
else:
attrs["classifiers"].insert(0, "Development Status :: 5 - Production/Stable")
setup(**attrs)