mirror of
https://github.com/aclist/dztui.git
synced 2026-08-26 09:47:36 +02:00
chore: conform to PEP 440 versioning
This commit is contained in:
parent
867c47a4eb
commit
5ef4085922
@ -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
|
||||
@ -4,7 +4,7 @@ description = "DayZ server browser and mod manager for Linux"
|
||||
authors = [
|
||||
{name = "aclist"}
|
||||
]
|
||||
version = "7.0.0-beta.1"
|
||||
version = "7.0.0b1"
|
||||
license = "GPL-3.0-or-later"
|
||||
license-files = ["LICENSE"]
|
||||
readme = "README.md"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user