diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..e0dcc13 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,25 @@ +[build-system] +requires = ["setuptools>=69"] +build-backend = "setuptools.build_meta" + +[project] +name = "genesis" +version = "0.1.0" +description = "概要设计书自动生成 Agent" +requires-python = ">=3.11" +dependencies = [ + "pydantic>=2.13", + "pydantic-settings>=2.15", + "pyyaml>=6.0", + "openpyxl>=3.1", + "python-docx>=1.0", +] + +[project.optional-dependencies] +dev = ["pytest>=8.0"] + +[tool.setuptools.packages.find] +where = ["src"] + +[tool.pytest.ini_options] +testpaths = ["tests"] \ No newline at end of file diff --git a/src/genesis/__init__.py b/src/genesis/__init__.py new file mode 100644 index 0000000..73152bc --- /dev/null +++ b/src/genesis/__init__.py @@ -0,0 +1,2 @@ +"""Genesis:概要设计书自动生成 Agent。""" +__version__ = "0.1.0" \ No newline at end of file diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/test_smoke.py b/tests/test_smoke.py new file mode 100644 index 0000000..48ac258 --- /dev/null +++ b/tests/test_smoke.py @@ -0,0 +1,5 @@ +import genesis + + +def test_package_importable(): + assert genesis.__version__ == "0.1.0" \ No newline at end of file