From 963508597bddfb333352e15f02940c4baf1054e4 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Fri, 20 Jan 2023 14:08:12 +0800 Subject: [PATCH] update copyright --- .github/workflows/after_compile.py | 2 +- .github/workflows/get_info.py | 2 +- DR-start.py | 2 +- Difficult_Rocket/__init__.py | 2 +- Difficult_Rocket/api/__init__.py | 2 +- Difficult_Rocket/api/delivery.py | 2 +- Difficult_Rocket/api/exception/__init__.py | 2 +- Difficult_Rocket/api/exception/command.py | 2 +- Difficult_Rocket/api/exception/logger.py | 2 +- Difficult_Rocket/api/exception/main.py | 2 +- Difficult_Rocket/api/exception/threading.py | 2 +- Difficult_Rocket/api/exception/unsupport.py | 2 +- Difficult_Rocket/api/screen.py | 2 +- Difficult_Rocket/api/types/SR1/__init__.py | 2 +- Difficult_Rocket/api/types/SR1/ship.py | 2 +- Difficult_Rocket/api/types/__init__.py | 2 +- Difficult_Rocket/api/types/data_type.py | 2 +- Difficult_Rocket/client/__init__.py | 2 +- Difficult_Rocket/client/fps/__init__.py | 2 +- Difficult_Rocket/client/fps/fps_log.py | 2 +- Difficult_Rocket/client/guis/__init__.py | 2 +- Difficult_Rocket/client/guis/format/__init__.py | 2 +- Difficult_Rocket/client/guis/format/html.py | 2 +- Difficult_Rocket/client/guis/label.py | 2 +- Difficult_Rocket/client/guis/widgets.py | 2 +- Difficult_Rocket/client/render/sr1_ship.py | 2 +- Difficult_Rocket/client/screen.py | 2 +- Difficult_Rocket/client/window.py | 2 +- Difficult_Rocket/command/__init__.py | 2 +- Difficult_Rocket/command/api.py | 2 +- Difficult_Rocket/command/line.py | 2 +- Difficult_Rocket/command/tree.py | 2 +- Difficult_Rocket/crash/__init__.py | 2 +- Difficult_Rocket/crash/crash.py | 2 +- Difficult_Rocket/exception/__init__.py | 2 +- Difficult_Rocket/exception/command.py | 2 +- Difficult_Rocket/exception/language.py | 2 +- Difficult_Rocket/exception/logger.py | 2 +- Difficult_Rocket/exception/main.py | 2 +- Difficult_Rocket/exception/threading.py | 2 +- Difficult_Rocket/exception/unsupport.py | 2 +- Difficult_Rocket/main.py | 2 +- Difficult_Rocket/mod/__init__.py | 2 +- Difficult_Rocket/mod/api/__init__.py | 2 +- Difficult_Rocket/mod/api/client.py | 2 +- Difficult_Rocket/mod/loader/__init__.py | 2 +- Difficult_Rocket/server/__init__.py | 2 +- Difficult_Rocket/utils/__init__.py | 2 +- Difficult_Rocket/utils/new_thread.py | 2 +- Difficult_Rocket/utils/thread.py | 2 +- Difficult_Rocket/utils/tools.py | 2 +- Difficult_Rocket/utils/translate.py | 2 +- libs/DR-rs/Cargo.toml | 4 ++++ libs/DR-rs/pyproject.toml | 2 ++ libs/DR-rs/setup.py | 16 ++++++++++++++++ libs/MCDR/__init__.py | 2 +- libs/utils/logger.py | 2 +- test/utils/loggers.py | 2 +- test/utils/translate.py | 2 +- 59 files changed, 78 insertions(+), 56 deletions(-) create mode 100644 libs/DR-rs/pyproject.toml create mode 100644 libs/DR-rs/setup.py diff --git a/.github/workflows/after_compile.py b/.github/workflows/after_compile.py index 5a9c3ca..d75ad6a 100644 --- a/.github/workflows/after_compile.py +++ b/.github/workflows/after_compile.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/.github/workflows/get_info.py b/.github/workflows/get_info.py index e620987..40c5417 100644 --- a/.github/workflows/get_info.py +++ b/.github/workflows/get_info.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/DR-start.py b/DR-start.py index a92ec5a..8c2fda6 100644 --- a/DR-start.py +++ b/DR-start.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- import os diff --git a/Difficult_Rocket/__init__.py b/Difficult_Rocket/__init__.py index 97a6bde..eb3ec8c 100644 --- a/Difficult_Rocket/__init__.py +++ b/Difficult_Rocket/__init__.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/api/__init__.py b/Difficult_Rocket/api/__init__.py index fc9ffed..94923fa 100644 --- a/Difficult_Rocket/api/__init__.py +++ b/Difficult_Rocket/api/__init__.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/api/delivery.py b/Difficult_Rocket/api/delivery.py index c64638f..d8f9b48 100644 --- a/Difficult_Rocket/api/delivery.py +++ b/Difficult_Rocket/api/delivery.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/api/exception/__init__.py b/Difficult_Rocket/api/exception/__init__.py index fc7a7cc..8fcca51 100644 --- a/Difficult_Rocket/api/exception/__init__.py +++ b/Difficult_Rocket/api/exception/__init__.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/api/exception/command.py b/Difficult_Rocket/api/exception/command.py index 212811a..b0f8008 100644 --- a/Difficult_Rocket/api/exception/command.py +++ b/Difficult_Rocket/api/exception/command.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/api/exception/logger.py b/Difficult_Rocket/api/exception/logger.py index 7a1357f..d46483a 100644 --- a/Difficult_Rocket/api/exception/logger.py +++ b/Difficult_Rocket/api/exception/logger.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/api/exception/main.py b/Difficult_Rocket/api/exception/main.py index fc7a7cc..8fcca51 100644 --- a/Difficult_Rocket/api/exception/main.py +++ b/Difficult_Rocket/api/exception/main.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/api/exception/threading.py b/Difficult_Rocket/api/exception/threading.py index 748d739..d463501 100644 --- a/Difficult_Rocket/api/exception/threading.py +++ b/Difficult_Rocket/api/exception/threading.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/api/exception/unsupport.py b/Difficult_Rocket/api/exception/unsupport.py index 12c8a6c..3a3a199 100644 --- a/Difficult_Rocket/api/exception/unsupport.py +++ b/Difficult_Rocket/api/exception/unsupport.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/api/screen.py b/Difficult_Rocket/api/screen.py index a0b7369..1d6cb1f 100644 --- a/Difficult_Rocket/api/screen.py +++ b/Difficult_Rocket/api/screen.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/api/types/SR1/__init__.py b/Difficult_Rocket/api/types/SR1/__init__.py index 333ce39..a96173b 100644 --- a/Difficult_Rocket/api/types/SR1/__init__.py +++ b/Difficult_Rocket/api/types/SR1/__init__.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/api/types/SR1/ship.py b/Difficult_Rocket/api/types/SR1/ship.py index 469734b..0c7dca1 100644 --- a/Difficult_Rocket/api/types/SR1/ship.py +++ b/Difficult_Rocket/api/types/SR1/ship.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/api/types/__init__.py b/Difficult_Rocket/api/types/__init__.py index bf01dbb..aafbad7 100644 --- a/Difficult_Rocket/api/types/__init__.py +++ b/Difficult_Rocket/api/types/__init__.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/api/types/data_type.py b/Difficult_Rocket/api/types/data_type.py index caf5919..448d6ec 100644 --- a/Difficult_Rocket/api/types/data_type.py +++ b/Difficult_Rocket/api/types/data_type.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/client/__init__.py b/Difficult_Rocket/client/__init__.py index 570efc0..ef4392e 100644 --- a/Difficult_Rocket/client/__init__.py +++ b/Difficult_Rocket/client/__init__.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/client/fps/__init__.py b/Difficult_Rocket/client/fps/__init__.py index fc7a7cc..8fcca51 100644 --- a/Difficult_Rocket/client/fps/__init__.py +++ b/Difficult_Rocket/client/fps/__init__.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/client/fps/fps_log.py b/Difficult_Rocket/client/fps/fps_log.py index 9909f06..5384bd3 100644 --- a/Difficult_Rocket/client/fps/fps_log.py +++ b/Difficult_Rocket/client/fps/fps_log.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/client/guis/__init__.py b/Difficult_Rocket/client/guis/__init__.py index fc7a7cc..8fcca51 100644 --- a/Difficult_Rocket/client/guis/__init__.py +++ b/Difficult_Rocket/client/guis/__init__.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/client/guis/format/__init__.py b/Difficult_Rocket/client/guis/format/__init__.py index 0a68a6a..e65b6e9 100644 --- a/Difficult_Rocket/client/guis/format/__init__.py +++ b/Difficult_Rocket/client/guis/format/__init__.py @@ -1,5 +1,5 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/client/guis/format/html.py b/Difficult_Rocket/client/guis/format/html.py index f81abc2..59e6a66 100644 --- a/Difficult_Rocket/client/guis/format/html.py +++ b/Difficult_Rocket/client/guis/format/html.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/client/guis/label.py b/Difficult_Rocket/client/guis/label.py index 02b6236..ad0f477 100644 --- a/Difficult_Rocket/client/guis/label.py +++ b/Difficult_Rocket/client/guis/label.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/client/guis/widgets.py b/Difficult_Rocket/client/guis/widgets.py index 7663691..c91c947 100644 --- a/Difficult_Rocket/client/guis/widgets.py +++ b/Difficult_Rocket/client/guis/widgets.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/client/render/sr1_ship.py b/Difficult_Rocket/client/render/sr1_ship.py index 48f3282..545d6dc 100644 --- a/Difficult_Rocket/client/render/sr1_ship.py +++ b/Difficult_Rocket/client/render/sr1_ship.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/client/screen.py b/Difficult_Rocket/client/screen.py index b084981..ca15224 100644 --- a/Difficult_Rocket/client/screen.py +++ b/Difficult_Rocket/client/screen.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/client/window.py b/Difficult_Rocket/client/window.py index 0a68a6a..e65b6e9 100644 --- a/Difficult_Rocket/client/window.py +++ b/Difficult_Rocket/client/window.py @@ -1,5 +1,5 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/command/__init__.py b/Difficult_Rocket/command/__init__.py index 3492384..14b7faa 100644 --- a/Difficult_Rocket/command/__init__.py +++ b/Difficult_Rocket/command/__init__.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/command/api.py b/Difficult_Rocket/command/api.py index ea18eaf..9c83506 100644 --- a/Difficult_Rocket/command/api.py +++ b/Difficult_Rocket/command/api.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/command/line.py b/Difficult_Rocket/command/line.py index a9fc29d..3829630 100644 --- a/Difficult_Rocket/command/line.py +++ b/Difficult_Rocket/command/line.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/command/tree.py b/Difficult_Rocket/command/tree.py index 6747b77..d4b5684 100644 --- a/Difficult_Rocket/command/tree.py +++ b/Difficult_Rocket/command/tree.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/crash/__init__.py b/Difficult_Rocket/crash/__init__.py index ec616a0..aee5278 100644 --- a/Difficult_Rocket/crash/__init__.py +++ b/Difficult_Rocket/crash/__init__.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/crash/crash.py b/Difficult_Rocket/crash/crash.py index 2176444..4096c94 100644 --- a/Difficult_Rocket/crash/crash.py +++ b/Difficult_Rocket/crash/crash.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/exception/__init__.py b/Difficult_Rocket/exception/__init__.py index d946d73..df0284e 100644 --- a/Difficult_Rocket/exception/__init__.py +++ b/Difficult_Rocket/exception/__init__.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/exception/command.py b/Difficult_Rocket/exception/command.py index 801d756..7dade19 100644 --- a/Difficult_Rocket/exception/command.py +++ b/Difficult_Rocket/exception/command.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/exception/language.py b/Difficult_Rocket/exception/language.py index 84a04ba..5b9d7c3 100644 --- a/Difficult_Rocket/exception/language.py +++ b/Difficult_Rocket/exception/language.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/exception/logger.py b/Difficult_Rocket/exception/logger.py index dfd2dcd..0ea06a9 100644 --- a/Difficult_Rocket/exception/logger.py +++ b/Difficult_Rocket/exception/logger.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/exception/main.py b/Difficult_Rocket/exception/main.py index fc7a7cc..8fcca51 100644 --- a/Difficult_Rocket/exception/main.py +++ b/Difficult_Rocket/exception/main.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/exception/threading.py b/Difficult_Rocket/exception/threading.py index 36b5fc7..890f6b0 100644 --- a/Difficult_Rocket/exception/threading.py +++ b/Difficult_Rocket/exception/threading.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- from Difficult_Rocket.exception import BaseRuntimeError diff --git a/Difficult_Rocket/exception/unsupport.py b/Difficult_Rocket/exception/unsupport.py index 513075f..a7db28c 100644 --- a/Difficult_Rocket/exception/unsupport.py +++ b/Difficult_Rocket/exception/unsupport.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/main.py b/Difficult_Rocket/main.py index a2af438..eae4ca5 100644 --- a/Difficult_Rocket/main.py +++ b/Difficult_Rocket/main.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/mod/__init__.py b/Difficult_Rocket/mod/__init__.py index 06a95b5..38f7f63 100644 --- a/Difficult_Rocket/mod/__init__.py +++ b/Difficult_Rocket/mod/__init__.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/mod/api/__init__.py b/Difficult_Rocket/mod/api/__init__.py index fc7a7cc..8fcca51 100644 --- a/Difficult_Rocket/mod/api/__init__.py +++ b/Difficult_Rocket/mod/api/__init__.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/mod/api/client.py b/Difficult_Rocket/mod/api/client.py index 530321f..fc1938a 100644 --- a/Difficult_Rocket/mod/api/client.py +++ b/Difficult_Rocket/mod/api/client.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/mod/loader/__init__.py b/Difficult_Rocket/mod/loader/__init__.py index fc7a7cc..8fcca51 100644 --- a/Difficult_Rocket/mod/loader/__init__.py +++ b/Difficult_Rocket/mod/loader/__init__.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/server/__init__.py b/Difficult_Rocket/server/__init__.py index f21f6eb..452fba8 100644 --- a/Difficult_Rocket/server/__init__.py +++ b/Difficult_Rocket/server/__init__.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/utils/__init__.py b/Difficult_Rocket/utils/__init__.py index 153230c..9a6bddf 100644 --- a/Difficult_Rocket/utils/__init__.py +++ b/Difficult_Rocket/utils/__init__.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/utils/new_thread.py b/Difficult_Rocket/utils/new_thread.py index f8ce7a1..c9fb5a5 100644 --- a/Difficult_Rocket/utils/new_thread.py +++ b/Difficult_Rocket/utils/new_thread.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/utils/thread.py b/Difficult_Rocket/utils/thread.py index a5b55ae..eb8e5a1 100644 --- a/Difficult_Rocket/utils/thread.py +++ b/Difficult_Rocket/utils/thread.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/utils/tools.py b/Difficult_Rocket/utils/tools.py index 098cc9b..6ac9931 100644 --- a/Difficult_Rocket/utils/tools.py +++ b/Difficult_Rocket/utils/tools.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/Difficult_Rocket/utils/translate.py b/Difficult_Rocket/utils/translate.py index 4c396fd..433a36a 100644 --- a/Difficult_Rocket/utils/translate.py +++ b/Difficult_Rocket/utils/translate.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/libs/DR-rs/Cargo.toml b/libs/DR-rs/Cargo.toml index dc599a7..695bedf 100644 --- a/libs/DR-rs/Cargo.toml +++ b/libs/DR-rs/Cargo.toml @@ -7,6 +7,10 @@ edition = "2021" [dependencies] +[lib] +name = 'Difficult_Rocket_rs' +crate-type = ["cdylib", "rlib"] + [dependencies.pyo3] version = "0.18.0" features = ["extension-module"] \ No newline at end of file diff --git a/libs/DR-rs/pyproject.toml b/libs/DR-rs/pyproject.toml new file mode 100644 index 0000000..2d3b755 --- /dev/null +++ b/libs/DR-rs/pyproject.toml @@ -0,0 +1,2 @@ +[build-system] +requires = ["setuptools", "wheel", "setuptools-rust"] \ No newline at end of file diff --git a/libs/DR-rs/setup.py b/libs/DR-rs/setup.py new file mode 100644 index 0000000..bb30ebc --- /dev/null +++ b/libs/DR-rs/setup.py @@ -0,0 +1,16 @@ +# ------------------------------- +# Difficult Rocket +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com +# All rights reserved +# ------------------------------- + +from setuptools import setup +from setuptools_rust import Binding, RustExtension + +setup( + name='Difficult_Rocket-rs', + version='0.0.0.1', + rust_extensions=[RustExtension("Difficult_Rocket-rs.Difficult_Rocket-rs", binding=Binding.PyO3)], + packages=['Difficult_Rocket-rs'], + zip_safe=False +) diff --git a/libs/MCDR/__init__.py b/libs/MCDR/__init__.py index 43badfc..25f6298 100644 --- a/libs/MCDR/__init__.py +++ b/libs/MCDR/__init__.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie +# Copyright © 2020-2023 by shenjackyuanjie # All rights reserved # ------------------------------- diff --git a/libs/utils/logger.py b/libs/utils/logger.py index 92e6892..de54f2a 100644 --- a/libs/utils/logger.py +++ b/libs/utils/logger.py @@ -5,7 +5,7 @@ import enum # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- import io diff --git a/test/utils/loggers.py b/test/utils/loggers.py index 4544378..bd2bd8f 100644 --- a/test/utils/loggers.py +++ b/test/utils/loggers.py @@ -1,6 +1,6 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # ------------------------------- diff --git a/test/utils/translate.py b/test/utils/translate.py index 0a68a6a..e65b6e9 100644 --- a/test/utils/translate.py +++ b/test/utils/translate.py @@ -1,5 +1,5 @@ # ------------------------------- # Difficult Rocket -# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com +# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com # All rights reserved # -------------------------------