-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
41 lines (35 loc) · 1.18 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
from setuptools import setup
from pathlib import Path
__version__: str
# get version
with (Path('.') / 'urouter' / '__init__.py').open('r') as fp:
while True:
line = fp.readline()
if line.startswith("__version__"):
exec(line)
break
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="micropython-urouter",
version=__version__,
packages=['urouter'],
install_requires=['micropython-ulogger'],
# requirements=['micropython-ulogger'],
include_package_data=True,
author="Youkii-Chen",
author_email="youkii-chen@qq.com",
description="A simple, lightweight, fast, and flexible WEB framework designed for embedded devices.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Youkii-Chen/micropython-urouter",
project_urls={
"Bug Tracker": "https://github.com/Youkii-Chen/micropython-urouter/issues",
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
keywords="micropython",
)