[+] pack .whl release
This commit is contained in:
parent
aaf8b12549
commit
723c5b6677
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -1 +1,2 @@
|
|||||||
releases/tar/** filter=lfs diff=lfs merge=lfs -text
|
releases/tar/** filter=lfs diff=lfs merge=lfs -text
|
||||||
|
releases/whl/** filter=lfs diff=lfs merge=lfs -text
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -14,3 +14,4 @@ d2/book1/books
|
|||||||
!.vscode/launch.json
|
!.vscode/launch.json
|
||||||
python/build
|
python/build
|
||||||
.*.kate-swp
|
.*.kate-swp
|
||||||
|
!releases/whl/*.whl
|
||||||
|
6
Makefile
6
Makefile
@ -51,6 +51,12 @@ python_put_dist:
|
|||||||
done
|
done
|
||||||
ln -sf $(INSTALL_ROOT)/env3/bin/online-fxreader-pr34-commands $(INSTALL_ROOT)/commands
|
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
|
python_put: python_put_dist python_put_env
|
||||||
|
|
||||||
dotfiles_put:
|
dotfiles_put:
|
||||||
|
@ -10,16 +10,18 @@ class PasswordUtils:
|
|||||||
@classmethod
|
@classmethod
|
||||||
def secret_hash(
|
def secret_hash(
|
||||||
cls,
|
cls,
|
||||||
secret: str,
|
secret: str | bytes,
|
||||||
mode: Literal['base64'],
|
mode: Literal['base64'],
|
||||||
|
salt: Optional[bytes] = None,
|
||||||
) -> tuple[str, str]: ...
|
) -> tuple[str, str]: ...
|
||||||
|
|
||||||
@overload
|
@overload
|
||||||
@classmethod
|
@classmethod
|
||||||
def secret_hash(
|
def secret_hash(
|
||||||
cls,
|
cls,
|
||||||
secret: str,
|
secret: str | bytes,
|
||||||
mode: Literal['bytes'],
|
mode: Literal['bytes'],
|
||||||
|
salt: Optional[bytes] = None,
|
||||||
) -> tuple[bytes, bytes]: ...
|
) -> tuple[bytes, bytes]: ...
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
@ -66,7 +68,7 @@ class PasswordUtils:
|
|||||||
@classmethod
|
@classmethod
|
||||||
def secret_check(
|
def secret_check(
|
||||||
cls,
|
cls,
|
||||||
secret: str,
|
secret: str | bytes,
|
||||||
salt: str | bytes,
|
salt: str | bytes,
|
||||||
hashed_secret: str | bytes,
|
hashed_secret: str | bytes,
|
||||||
) -> bool:
|
) -> bool:
|
||||||
|
BIN
releases/whl/online_fxreader_pr34-0.1.4.13-py3-none-any.whl
(Stored with Git LFS)
Normal file
BIN
releases/whl/online_fxreader_pr34-0.1.4.13-py3-none-any.whl
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user