[+] pack .whl release

This commit is contained in:
Siarhei Siniak 2025-03-04 18:49:12 +03:00
parent aaf8b12549
commit 723c5b6677
5 changed files with 16 additions and 3 deletions

1
.gitattributes vendored

@ -1 +1,2 @@
releases/tar/** filter=lfs diff=lfs merge=lfs -text
releases/whl/** filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored

@ -14,3 +14,4 @@ d2/book1/books
!.vscode/launch.json
python/build
.*.kate-swp
!releases/whl/*.whl

@ -51,6 +51,12 @@ python_put_dist:
done
ln -sf $(INSTALL_ROOT)/env3/bin/online-fxreader-pr34-commands $(INSTALL_ROOT)/commands
PYTHON_PROJECTS_NAMES ?= online.fxreader.pr34
python_whl:
for f in $(PYTHON_PROJECTS_NAMES); do \
./m.py deploy:wheel -o releases/whl -p $$f; \
done
python_put: python_put_dist python_put_env
dotfiles_put:

@ -10,16 +10,18 @@ class PasswordUtils:
@classmethod
def secret_hash(
cls,
secret: str,
secret: str | bytes,
mode: Literal['base64'],
salt: Optional[bytes] = None,
) -> tuple[str, str]: ...
@overload
@classmethod
def secret_hash(
cls,
secret: str,
secret: str | bytes,
mode: Literal['bytes'],
salt: Optional[bytes] = None,
) -> tuple[bytes, bytes]: ...
@classmethod
@ -66,7 +68,7 @@ class PasswordUtils:
@classmethod
def secret_check(
cls,
secret: str,
secret: str | bytes,
salt: str | bytes,
hashed_secret: str | bytes,
) -> bool:

BIN
releases/whl/online_fxreader_pr34-0.1.4.13-py3-none-any.whl (Stored with Git LFS) Normal file

Binary file not shown.