Skip to content

Commit 3a4e663

Browse files
committed
Move source to src folder to avoid polluting Python path
1 parent acf3065 commit 3a4e663

27 files changed

+9
-7
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ jobs:
6060
run: |
6161
set -x
6262
uv build -C build-dir=_build
63-
uv sync --no-editable --group docs
64-
cd _build && ../.venv/bin/python -m sphinx -b html -W -v ../docs html
63+
cd _build
64+
uv run --no-editable --group docs -m sphinx -b html -W -v ../docs html

.github/workflows/install.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,16 @@ jobs:
5353
5454
case "$DIST_ID" in
5555
arch)
56-
pacman --noconfirm -Sy "${DEPS_COMMON[@]}" systemd-libs python-pip ctags
56+
pacman --noconfirm -Sy "${DEPS_COMMON[@]}" systemd-libs python-pip ctags gnupg
5757
;;
5858
centos|fedora)
59-
dnf -y install "${DEPS_COMMON[@]}" systemd-devel python3-devel python3-pip ctags
59+
dnf config-manager --set-enabled crb
60+
dnf install epel-release epel-next-release
61+
dnf -y install "${DEPS_COMMON[@]}" systemd-devel python3-devel python3-pip ctags gnupg2
6062
;;
6163
ubuntu|debian)
6264
apt -y update
63-
DEBIAN_FRONTEND=noninteractive apt -y install "${DEPS_COMMON[@]}" libsystemd-dev python3-dev python3-pip universal-ctags
65+
DEBIAN_FRONTEND=noninteractive apt -y install "${DEPS_COMMON[@]}" libsystemd-dev python3-dev python3-pip universal-ctags gpg
6466
;;
6567
*)
6668
echo >&2 "Invalid distribution ID: $DISTRO_ID"

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
__pycache__/
22
*.py[co]
33
/journald/*.so
4-
/TAGS
4+
TAGS
55

66
# Packages
77
*.egg

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ common_c_args = [
3232
'-DLIBSYSTEMD_VERSION=' + libsystemd_dep.version(),
3333
]
3434

35-
subdir('systemd')
35+
subdir('src/systemd')
3636

3737
run_target(
3838
'update-constants',
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)