Skip to content

Commit da6466d

Browse files
committed
Move pyproject.toml to root level dir
1 parent d99e641 commit da6466d

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

.github/workflows/deploy_site.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ jobs:
4343
run: |
4444
python -m pip install --upgrade pip
4545
python -m pip install uv
46-
uv sync --project=src --no-dev
46+
uv sync --no-dev
4747
4848
- name: Setup Pages
4949
uses: actions/configure-pages@v5
5050

5151
- name: Build Site
5252
run: |
5353
export PYTHONPATH=src:$PYTHONPATH
54-
uv run --project=src mkdocs build --clean --config-file mkdocs.yml
54+
uv run mkdocs build --clean --config-file mkdocs.yml
5555
5656
- name: Upload artifact
5757
uses: actions/upload-pages-artifact@v4

.github/workflows/link_checker.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
- .github/workflows/linkchecker.yml
1313
# run on any PR that changes the pip requirements
1414
- requirements.txt
15-
- src/pyproject.toml
15+
- pyproject.toml
1616
# let us trigger it manually
1717
workflow_dispatch:
1818

@@ -31,13 +31,13 @@ jobs:
3131
- name: Install dependencies
3232
run: |
3333
python -m pip install --upgrade pip uv
34-
uv sync --dev --project=src
34+
uv sync --dev
3535
3636
- name: Build Site
3737
run: |
38-
uv run --project=src mkdocs build --verbose --clean --config-file mkdocs.yml
38+
uv run mkdocs build --verbose --clean --config-file mkdocs.yml
3939
4040
- name: Check links
4141
run: |
42-
uv run --project=src linkchecker site/index.html
42+
uv run linkchecker site/index.html
4343

.github/workflows/python-app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ jobs:
2828
- name: Install dependencies
2929
run: |
3030
python -m pip install --upgrade pip uv
31-
uv sync --project=src --dev --frozen
31+
uv sync --dev --frozen
3232
# - uses: psf/black@stable
3333
- name: Test with pytest
3434
run: |
35-
uv run --project=src pytest
35+
uv run pytest
3636
- name: Build
3737
run: |
3838
uv build --project=src
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ ssvc_doctools="ssvc.doctools:main"
6262

6363
[tool.setuptools.packages.find]
6464
where = ["."] # list of folders that contain the packages (["."] by default)
65-
include = ["ssvc*"] # package names should match these glob patterns (["*"] by default)
65+
include = ["src*"] # package names should match these glob patterns (["*"] by default)
6666
exclude = ["test*"] # exclude packages matching these glob patterns (empty by default)
6767
#namespaces = false # to disable scanning PEP 420 namespaces (true by default)
6868

6969
[tool.setuptools_scm]
70-
version_file = "ssvc/_version.py"
71-
root = ".."
70+
version_file = "./src/ssvc/_version.py"
71+
root = "."
7272
local_scheme = "no-local-version"
7373
version_scheme = "no-guess-dev"
7474

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file was autogenerated by uv via the following command:
2-
# uv export --project=src --no-editable -o ./requirements.txt
2+
# uv export --no-editable -o ./requirements.txt
33
.
44
annotated-types==0.7.0 \
55
--hash=sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53 \
File renamed without changes.

0 commit comments

Comments
 (0)