chore: 初始化项目结构并清理无用文件
添加基础项目文件包括.gitignore、.python-version和pyproject.toml 删除无用的测试文件和旧README内容 添加主程序入口main.py
This commit is contained in:
parent
d92f2f02bb
commit
8507af5018
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
.env
|
||||||
|
.venv/
|
||||||
|
__pycache__/
|
||||||
|
.DS_Store
|
||||||
1
.python-version
Normal file
1
.python-version
Normal file
@ -0,0 +1 @@
|
|||||||
|
3.8
|
||||||
@ -1 +0,0 @@
|
|||||||
asdasd
|
|
||||||
6
main.py
Normal file
6
main.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
def main():
|
||||||
|
print("Hello from test!")
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
10
pyproject.toml
Normal file
10
pyproject.toml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[project]
|
||||||
|
name = "test"
|
||||||
|
version = "0.1.0"
|
||||||
|
description = "Add your description here"
|
||||||
|
readme = "README.md"
|
||||||
|
requires-python = ">=3.8"
|
||||||
|
dependencies = [
|
||||||
|
"openai>=2.2.0",
|
||||||
|
"streamlit>=1.40.1",
|
||||||
|
]
|
||||||
Loading…
Reference in New Issue
Block a user