Skip to content

Commit

Permalink
Add more dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
YourKalamity committed May 1, 2022
1 parent 726fe78 commit 48407d0
Show file tree
Hide file tree
Showing 43 changed files with 21,235 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/executables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Make zip
run: |
mkdir temporary
cp -r bcj certifi chardet Cryptodome idna multivolumefile psutil py7zr pyppmd pyzstd zipfile_deflate64 requests urllib3 tkmacosx temporary/
cp -r brotlicffi cffi pycparser bcj certifi chardet Cryptodome idna multivolumefile psutil py7zr pyppmd pyzstd zipfile_deflate64 requests urllib3 tkmacosx temporary/
cp LICENSE main.py colour.py brotli.py texttable.py README.md temporary/
cd temporary
chmod +x main.py
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: Create executable
run: |
pyinstaller --onefile --add-data "texttable.py:." --add-data "brotli.py:." --add-data "bcj:bcj" --add-data "Cryptodome:Cryptodome" --add-data "multivolumefile:multivolumefile" --add-data "psutil:psutil" --add-data "pyppmd:pyppmd" --add-data "zipfile_deflate64:zipfile_deflate64" --add-data "colour.py:." --add-data "tkmacosx:tkmacosx" --add-data "certifi:certifi" --add-data "requests:requests" --add-data "urllib3:urllib3" --add-data "lazy.ico:." --add-data "chardet:chardet" --icon "lazy.ico" --console --name "lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}-macOS" main.py
pyinstaller --onefile --add-data "brotlicffi:brotlicffi" --add-data "cffi:cffi" --add-data "pycparser:pycparser" --add-data "texttable.py:." --add-data "brotli.py:." --add-data "bcj:bcj" --add-data "Cryptodome:Cryptodome" --add-data "multivolumefile:multivolumefile" --add-data "psutil:psutil" --add-data "pyppmd:pyppmd" --add-data "zipfile_deflate64:zipfile_deflate64" --add-data "colour.py:." --add-data "tkmacosx:tkmacosx" --add-data "certifi:certifi" --add-data "requests:requests" --add-data "urllib3:urllib3" --add-data "lazy.ico:." --add-data "chardet:chardet" --icon "lazy.ico" --console --name "lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}-macOS" main.py
cd dist
chmod +x lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}-macOS
zip ../lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}-macOS.zip lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}-macOS
Expand Down
8 changes: 8 additions & 0 deletions brotlicffi/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# -*- coding: utf-8 -*-
# flake8: noqa
from ._api import (
decompress, Decompressor, compress, BrotliEncoderMode, DEFAULT_MODE,
Compressor, MODE_GENERIC, MODE_TEXT, MODE_FONT, error, Error
)

__version__ = "1.0.9.2"
Loading

0 comments on commit 48407d0

Please sign in to comment.