Skip to content

Commit 08ff516

Browse files
committed
重构结构
1 parent b5dd875 commit 08ff516

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

.github/workflows/pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
python-version: '3.11' # 与 pyproject.toml 保持一致
3434

3535
- name: Build package
36-
run: uv build --wheel
36+
run: uv build
3737

3838
- name: Publish to PyPI
3939
uses: pypa/gh-action-pypi-publish@release/v1

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ openai_router = "openai_router.main:cli_app"
2020
url = "https://pypi.org/simple/"
2121
default = true
2222

23+
24+
[tool.setuptools.packages.find]
25+
where = ["src"]
26+
2327
[build-system]
2428
requires = ["setuptools", "wheel"]
2529
build-backend = "setuptools.build_meta"

src/openai_router/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)