From fe9444f13e9413932849fa7a2eedc51b1e8252a6 Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Thu, 23 Apr 2026 23:44:44 +0800 Subject: [PATCH] =?UTF-8?q?[".gitignore"=E6=96=87=E4=BB=B6=E7=9A=84?= =?UTF-8?q?=E5=8F=98=E6=9B=B4=E4=B8=BB=E8=A6=81=E6=98=AF=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E4=BA=86=E4=B8=80=E4=B8=AA=E5=BF=BD=E7=95=A5=E8=A7=84=E5=88=99?= =?UTF-8?q?=EF=BC=8C=E5=B1=9E=E4=BA=8E=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=EF=BC=8C=E8=80=8C=E6=9C=AA=E8=B7=9F=E8=B8=AA?= =?UTF-8?q?=E7=9A=84=E6=96=87=E4=BB=B6=E8=A1=A8=E6=98=8E=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E4=BA=86=E4=B8=80=E4=BA=9B=E9=A1=B9=E7=9B=AE=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E5=92=8C=E6=BA=90=E7=A0=81=E7=9B=AE=E5=BD=95=EF=BC=8C=E5=B1=9E?= =?UTF-8?q?=E4=BA=8E=E6=96=B0=E5=A2=9E=E5=8A=9F=E8=83=BD=E6=88=96=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E6=9B=B4=E6=96=B0=E7=B1=BB=E5=9E=8B=E3=80=82=E7=BB=BC?= =?UTF-8?q?=E5=90=88=E5=88=86=E6=9E=90=E5=A6=82=E4=B8=8B=EF=BC=9A]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🔧 Add `.idea/` to .gitignore and introduce new project dependencies/files including `.python-version`, `pyproject.toml`, and `src/` directory. --- .gitignore | 1 + .python-version | 1 + pyproject.toml | 14 ++++++++++++++ src/py_common_lib/__init__.py | 2 ++ src/py_common_lib/py.typed | 0 5 files changed, 18 insertions(+) create mode 100644 .python-version create mode 100644 pyproject.toml create mode 100644 src/py_common_lib/__init__.py create mode 100644 src/py_common_lib/py.typed diff --git a/.gitignore b/.gitignore index 4a945b3..5525699 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.idea/ # ---> macOS # General .DS_Store diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..e4fba21 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.12 diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..b819550 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,14 @@ +[project] +name = "py-common-lib" +version = "0.1.0" +description = "Add your description here" +readme = "README.md" +authors = [ + { name = "Hatter Jiang", email = "jht5945@gmail.com" } +] +requires-python = ">=3.12" +dependencies = [] + +[build-system] +requires = ["uv_build>=0.11.6,<0.12.0"] +build-backend = "uv_build" diff --git a/src/py_common_lib/__init__.py b/src/py_common_lib/__init__.py new file mode 100644 index 0000000..a9f19a3 --- /dev/null +++ b/src/py_common_lib/__init__.py @@ -0,0 +1,2 @@ +def hello() -> str: + return "Hello from py-common-lib!" diff --git a/src/py_common_lib/py.typed b/src/py_common_lib/py.typed new file mode 100644 index 0000000..e69de29