make nonebot-test standalone

This commit is contained in:
yanyongyu 2020-07-19 11:54:48 +08:00
parent 9355ed4baf
commit 10f1ab70b4
2 changed files with 5 additions and 11 deletions

View File

@ -1,4 +0,0 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# TODO: test running nonebot

View File

@ -8,7 +8,7 @@ readme = "README.md"
homepage = "https://nonebot.cqp.moe/" homepage = "https://nonebot.cqp.moe/"
repository = "https://github.com/nonebot/nonebot" repository = "https://github.com/nonebot/nonebot"
documentation = "https://nonebot.cqp.moe/" documentation = "https://nonebot.cqp.moe/"
keywords = ["bot", "qq", "qqbot", "cqhttp", "coolq"] keywords = ["bot", "qq", "qqbot", "mirai", "coolq"]
classifiers = [ classifiers = [
"Development Status :: 5 - Production/Stable", "Development Status :: 5 - Production/Stable",
"Framework :: Robot Framework", "Framework :: Robot Framework",
@ -17,18 +17,15 @@ classifiers = [
"Operating System :: OS Independent", "Operating System :: OS Independent",
"Programming Language :: Python :: 3" "Programming Language :: Python :: 3"
] ]
packages = [
{ include = "nonebot" },
{ include = "nonebot_test" }
]
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.7" python = "^3.7"
httpx = "^0.13.3"
fastapi = "^0.58.1" fastapi = "^0.58.1"
uvicorn = "^0.11.5" uvicorn = "^0.11.5"
pydantic = {extras = ["dotenv"], version = "^1.5.1"} pydantic = { extras = ["dotenv"], version = "^1.5.1" }
apscheduler = { version = "^3.6.3", optional = true } apscheduler = { version = "^3.6.3", optional = true }
httpx = "^0.13.3" nonebot-test = { version = "^0.1.0", optional = true }
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]
yapf = "^0.30.0" yapf = "^0.30.0"
@ -36,6 +33,7 @@ sphinx = "^3.1.1"
sphinx-markdown-builder = { git = "https://github.com/nonebot/sphinx-markdown-builder.git" } sphinx-markdown-builder = { git = "https://github.com/nonebot/sphinx-markdown-builder.git" }
[tool.poetry.extras] [tool.poetry.extras]
test = ["nonebot-test"]
scheduler = ["apscheduler"] scheduler = ["apscheduler"]
[[tool.poetry.source]] [[tool.poetry.source]]