-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
58 lines (48 loc) · 1.59 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
import codecs
import os
from setuptools import find_packages, setup
here = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
long_description = "\n" + fh.read()
INUI_PATH = os.path.join(os.path.dirname(os.path.realpath(__file__)), "inui")
def __version__() -> str:
config_path = os.path.join(INUI_PATH, "__version__")
with open(config_path, encoding="utf-8") as f:
text = f.read()
return text.strip()
VERSION = "0.9.7.2"
PACKAGE_NAME = "inui"
DESCRIPTION = ""
LONG_DESCRIPTION = "Powerful and Highly Customizable Python Library for UI"
AUTHOR_NAME = "Mohammadreza Amani"
AUTHOR_EMAIL = "[email protected]"
PROJECT_URL = "https://github.com/MohammadrezaAmani/INUI/"
REQUIRED_PACKAGES = []
PROJECT_KEYWORDS = ["ui", "python", "html", "framework", "frontend", "bootstrap"]
CLASSIFIERS = [
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Operating System :: Unix",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
]
setup(
name=PACKAGE_NAME,
version=VERSION,
author=AUTHOR_NAME,
author_email=AUTHOR_EMAIL,
description=DESCRIPTION,
url=PROJECT_URL,
long_description_content_type="text/markdown",
long_description=long_description,
packages=find_packages(),
install_requires=REQUIRED_PACKAGES,
keywords=PROJECT_KEYWORDS,
classifiers=CLASSIFIERS,
entry_points={
"console_scripts": [
"inui=inui.hotreload:main",
],
},
)