-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (45 loc) · 1.39 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
from setuptools import setup, find_packages
__info__ = "Simple local-files server with security on top!"
__version__ = "1.9.5"
__author__ = "Smartwa Caleb"
__email__ = "smartwacaleb@gmail.com"
__repo__ = "https://github.com/Simatwa/tdwnsv3"
def get_file(nm: str) -> list:
with open(nm, encoding="utf-8") as fp:
return fp.readlines()
setup(
name="tdwnsv3",
packages=find_packages(),
version=__version__,
url=__repo__,
project_urls={"Bug Report": f"{__repo__}/issues/new"},
license="MIT",
author=__author__,
install_requires=[
"Flask==2.2.2",
"cryptography==39.0.0",
"appdirs==1.4.4",
"Flask-Admin==1.6.1",
"Werkzeug==2.2.2",
],
author_email=__email__,
maintainer=__author__,
maintainer_email=__email__,
description=__info__,
long_description="\n".join(get_file("README.md")),
long_description_content_type="text/markdown",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
entry_points={
"console_scripts": [
"tdwnsv3 = tdwnsv3.tdwnsv3:main",
]
},
)