- 新增详细.gitignore文件,忽略常见Python缓存、构建等无用文件 - 添加.python-version指定Python版本为3.14 - 添加pyproject.toml,配置项目元信息及依赖包 - 新增uv.lock锁定依赖版本,确保环境一致性 - 新增main.py示例代码,演示Boss类的基本用法:获取职位列表、候选人及简历内容 - 配置国内及私有PyPI源镜像以加速依赖安装
24 lines
455 B
TOML
24 lines
455 B
TOML
[project]
|
|
name = "boss-hr-2-0"
|
|
version = "0.1.0"
|
|
description = "Add your description here"
|
|
readme = "README.md"
|
|
requires-python = ">=3.14"
|
|
dependencies = [
|
|
"ylhp-boss-hr>=1.37"
|
|
]
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["boss*"]
|
|
|
|
[tool.setuptools.package-dir]
|
|
"" = "."
|
|
|
|
[[tool.uv.index]]
|
|
url = "http://mirrors.aliyun.com/pypi/simple"
|
|
default = true
|
|
|
|
[[tool.uv.index]]
|
|
url = "https://git.yinlihupo.cn/api/packages/LiQiuYu/pypi/simple"
|