mirror of
https://github.com/aclist/dztui.git
synced 2026-10-31 07:02:50 +01:00
chore: conform to PEP 440 versioning
This commit is contained in:
1 parent
867c47a4eb
commit
5ef4085922
2 files changed
+1
-29
No files matched your search
@@ -1,28 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# TODO: move this into package data dir
|
|
||||||
prefix="dzgui"
|
|
||||||
tag="$1"
|
|
||||||
prefix="$2"
|
|
||||||
dir="/tmp/dzgui-${tag}"
|
|
||||||
|
|
||||||
mkdir -p "$dir"
|
|
||||||
|
|
||||||
git clone -C "$dir" git@github.com:aclist/dzgui.git --branch "${tag}"
|
|
||||||
git -C "$dir" submodule update --recursive --init
|
|
||||||
|
|
||||||
if [[ ! $(which python3.13) ]]; then
|
|
||||||
echo "Missing python3.13"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
python3.13 -m venv "${prefix}"
|
|
||||||
source "$prefix/bin/activate"
|
|
||||||
|
|
||||||
rm -rf "$dir"
|
|
||||||
if [[ $(which uv) ]]; then
|
|
||||||
uv --directory "$dir" pip install .
|
|
||||||
else
|
|
||||||
cd "$dir"
|
|
||||||
pip install -r requirements.txt
|
|
||||||
echo "Setup complete. Re-launch DZGUI via the command 'dzgui'"
|
|
||||||
fi
|
|
||||||
+1
-1
@@ -4,7 +4,7 @@ description = "DayZ server browser and mod manager for Linux"
|
|||||||
authors = [
|
authors = [
|
||||||
{name = "aclist"}
|
{name = "aclist"}
|
||||||
]
|
]
|
||||||
version = "7.0.0-beta.1"
|
version = "7.0.0b1"
|
||||||
license = "GPL-3.0-or-later"
|
license = "GPL-3.0-or-later"
|
||||||
license-files = ["LICENSE"]
|
license-files = ["LICENSE"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|||||||
Reference in new issue
Block a user