-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Move DocumentListAPI parsing code to crud.py - Introduce NormalizedDocument as a TypedDict - Remove a bunch of old code - Remove Submodules - Reformat and clean up Imports - Clean up the codebase: - Move executeable files into `bin/` and make those scripts executeable from anywhere - Create directory `frontend/` for frontends of isisdl (excluding __main__.py)
- Loading branch information
Showing
36 changed files
with
288 additions
and
346 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
[submodule "isisdl.wiki"] | ||
path = isisdl.wiki | ||
url = [email protected]:Emily3403/isisdl.wiki.git | ||
[submodule "aur"] | ||
path = aur | ||
url = https://aur.archlinux.org/isisdl.git | ||
[submodule "tldr"] | ||
path = tldr | ||
url = [email protected]:Emily3403/tldr.git |
Submodule aur
deleted from
aa3cc7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# compile-isisdl | ||
static-compile/*.build | ||
static-compile/*.dist | ||
static-compile/*.onefile-build | ||
static-compile/isisdl-linux.bin | ||
static-compile/isisdl-windows.exe | ||
|
||
# upload-PyPI | ||
build/ |
File renamed without changes.
0
compile/compile_isisdl.bat → bin/compile-isisdl.bat
100644 → 100755
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" | ||
|
||
rm -rf "$SCRIPT_DIR"/static-compile/isisdl.* | ||
rm -rf "$SCRIPT_DIR"/static-compile/venv | ||
|
||
python3.11 -m venv "$SCRIPT_DIR"/static-compile/venv | ||
source "$SCRIPT_DIR"/static-compile/venv/bin/activate | ||
pip install "$SCRIPT_DIR"/.. | ||
|
||
python3 -c 'from isisdl.settings import is_static | ||
assert is_static, "Error: For the static build, is_static must be True" | ||
' || exit 1 | ||
|
||
|
||
pip install zstandard ordered-set nuitka | ||
nuitka3 --standalone --onefile \ | ||
--linux-onefile-icon="$SCRIPT_DIR"/static-compile/isisdl_icon.png \ | ||
--output-dir="$SCRIPT_DIR"/static-compile \ | ||
--output-filename=isisdl-linux.bin \ | ||
"$SCRIPT_DIR"/../src/isisdl/__main__.py | ||
|
||
echo "new sha256sum is" | ||
sha256sum "$SCRIPT_DIR"/static-compile/isisdl-linux.bin |
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" | ||
|
||
cd "$SCRIPT_DIR"/.. || exit 1 | ||
|
||
mkdir -p "$SCRIPT_DIR"/dist/ | ||
rm "$SCRIPT_DIR"/dist/* 2> /dev/null | ||
python3 -m build --outdir "$SCRIPT_DIR/dist/" | ||
|
||
twine upload "$SCRIPT_DIR"/dist/* |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Submodule isisdl.wiki
deleted from
f29ec5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.