From 486b0f82ea795875dec28b2e037754fadc0e0e46 Mon Sep 17 00:00:00 2001 From: Aoi-Takahashi Date: Mon, 4 Mar 2024 21:05:05 +0900 Subject: [PATCH] initial commit --- .python-version | 1 + README.md | 3 +++ pyproject.toml | 27 +++++++++++++++++++++++++++ requirements-dev.lock | 10 ++++++++++ requirements.lock | 10 ++++++++++ src/pm_kun/__init__.py | 3 +++ src/pm_kun/__main__.py | 4 ++++ 7 files changed, 58 insertions(+) create mode 100644 .python-version create mode 100644 README.md create mode 100644 pyproject.toml create mode 100644 requirements-dev.lock create mode 100644 requirements.lock create mode 100644 src/pm_kun/__init__.py create mode 100644 src/pm_kun/__main__.py diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..375f5ca --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.11.6 diff --git a/README.md b/README.md new file mode 100644 index 0000000..6d0db47 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# pm-kun + +Describe your project here. \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..06d02a9 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,27 @@ +[project] +name = "pm-kun" +version = "0.1.0" +description = "Add your description here" +authors = [ + { name = "Aoi-Takahashi", email = "xxx@xxx.com" } +] +dependencies = [] +readme = "README.md" +requires-python = ">= 3.8" + +[project.scripts] +start = "pm_kun:main" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.rye] +managed = true +dev-dependencies = [] + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["src/pm_kun"] \ No newline at end of file diff --git a/requirements-dev.lock b/requirements-dev.lock new file mode 100644 index 0000000..8f23096 --- /dev/null +++ b/requirements-dev.lock @@ -0,0 +1,10 @@ +# generated by rye +# use `rye lock` or `rye sync` to update this lockfile +# +# last locked with the following flags: +# pre: false +# features: [] +# all-features: false +# with-sources: false + +-e file:. diff --git a/requirements.lock b/requirements.lock new file mode 100644 index 0000000..8f23096 --- /dev/null +++ b/requirements.lock @@ -0,0 +1,10 @@ +# generated by rye +# use `rye lock` or `rye sync` to update this lockfile +# +# last locked with the following flags: +# pre: false +# features: [] +# all-features: false +# with-sources: false + +-e file:. diff --git a/src/pm_kun/__init__.py b/src/pm_kun/__init__.py new file mode 100644 index 0000000..b444fe0 --- /dev/null +++ b/src/pm_kun/__init__.py @@ -0,0 +1,3 @@ +def main() -> int: + print("Hello from pm-kun!") + return 0 \ No newline at end of file diff --git a/src/pm_kun/__main__.py b/src/pm_kun/__main__.py new file mode 100644 index 0000000..c00c09f --- /dev/null +++ b/src/pm_kun/__main__.py @@ -0,0 +1,4 @@ +import pm_kun +import sys + +sys.exit(pm_kun.main()) \ No newline at end of file