From 10f1ab70b4d80886a54bd4b400867a8fe1dbddc6 Mon Sep 17 00:00:00 2001 From: yanyongyu Date: Sun, 19 Jul 2020 11:54:48 +0800 Subject: [PATCH] make nonebot-test standalone --- nonebot_test/__init__.py | 4 ---- pyproject.toml | 12 +++++------- 2 files changed, 5 insertions(+), 11 deletions(-) delete mode 100644 nonebot_test/__init__.py diff --git a/nonebot_test/__init__.py b/nonebot_test/__init__.py deleted file mode 100644 index 59652573..00000000 --- a/nonebot_test/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env python3 -# -*- coding: utf-8 -*- - -# TODO: test running nonebot diff --git a/pyproject.toml b/pyproject.toml index 1ed34686..19f93c05 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ readme = "README.md" homepage = "https://nonebot.cqp.moe/" repository = "https://github.com/nonebot/nonebot" documentation = "https://nonebot.cqp.moe/" -keywords = ["bot", "qq", "qqbot", "cqhttp", "coolq"] +keywords = ["bot", "qq", "qqbot", "mirai", "coolq"] classifiers = [ "Development Status :: 5 - Production/Stable", "Framework :: Robot Framework", @@ -17,18 +17,15 @@ classifiers = [ "Operating System :: OS Independent", "Programming Language :: Python :: 3" ] -packages = [ - { include = "nonebot" }, - { include = "nonebot_test" } -] [tool.poetry.dependencies] python = "^3.7" +httpx = "^0.13.3" fastapi = "^0.58.1" 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 } -httpx = "^0.13.3" +nonebot-test = { version = "^0.1.0", optional = true } [tool.poetry.dev-dependencies] yapf = "^0.30.0" @@ -36,6 +33,7 @@ sphinx = "^3.1.1" sphinx-markdown-builder = { git = "https://github.com/nonebot/sphinx-markdown-builder.git" } [tool.poetry.extras] +test = ["nonebot-test"] scheduler = ["apscheduler"] [[tool.poetry.source]]