From e0a5cd5922e670feaa5f826b96d4681f65428f79 Mon Sep 17 00:00:00 2001 From: UnCLAS-Prommer Date: Wed, 8 Oct 2025 00:16:16 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8F=B7=E6=9B=B4=E6=94=B9?= =?UTF-8?q?=E5=92=8C=E6=96=87=E4=BB=B6=E7=B2=BE=E7=AE=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .envrc | 1 - .gitattributes | 3 +-- flake.lock | 57 -------------------------------------------------- flake.nix | 39 ---------------------------------- pyproject.toml | 2 +- 5 files changed, 2 insertions(+), 100 deletions(-) delete mode 100644 .envrc delete mode 100644 flake.lock delete mode 100644 flake.nix diff --git a/.envrc b/.envrc deleted file mode 100644 index 8392d159..00000000 --- a/.envrc +++ /dev/null @@ -1 +0,0 @@ -use flake \ No newline at end of file diff --git a/.gitattributes b/.gitattributes index 1c452177..cf5cffa2 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,2 @@ *.bat text eol=crlf -*.cmd text eol=crlf -MaiLauncher.bat text eol=crlf working-tree-encoding=GBK \ No newline at end of file +*.cmd text eol=crlf \ No newline at end of file diff --git a/flake.lock b/flake.lock deleted file mode 100644 index 894acd48..00000000 --- a/flake.lock +++ /dev/null @@ -1,57 +0,0 @@ -{ - "nodes": { - "nixpkgs": { - "locked": { - "lastModified": 0, - "narHash": "sha256-nJj8f78AYAxl/zqLiFGXn5Im1qjFKU8yBPKoWEeZN5M=", - "path": "/nix/store/f30jn7l0bf7a01qj029fq55i466vmnkh-source", - "type": "path" - }, - "original": { - "id": "nixpkgs", - "type": "indirect" - } - }, - "root": { - "inputs": { - "nixpkgs": "nixpkgs", - "utils": "utils" - } - }, - "systems": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, - "utils": { - "inputs": { - "systems": "systems" - }, - "locked": { - "lastModified": 1731533236, - "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/flake.nix b/flake.nix deleted file mode 100644 index 23b82bb7..00000000 --- a/flake.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ - description = "MaiMBot Nix Dev Env"; - - inputs = { - utils.url = "github:numtide/flake-utils"; - }; - - outputs = { - self, - nixpkgs, - utils, - ... - }: - utils.lib.eachDefaultSystem (system: let - pkgs = import nixpkgs {inherit system;}; - pythonPackages = pkgs.python3Packages; - in { - devShells.default = pkgs.mkShell { - name = "python-venv"; - venvDir = "./.venv"; - buildInputs = with pythonPackages; [ - python - venvShellHook - scipy - numpy - ]; - - postVenvCreation = '' - unset SOURCE_DATE_EPOCH - pip install -r requirements.txt - ''; - - postShellHook = '' - # allow pip to install wheels - unset SOURCE_DATE_EPOCH - ''; - }; - }); -} diff --git a/pyproject.toml b/pyproject.toml index 8517e211..fb613e19 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "MaiBot" -version = "0.8.1" +version = "0.11.0" description = "MaiCore 是一个基于大语言模型的可交互智能体" requires-python = ">=3.10" dependencies = [