Skip to content

Commit

Permalink
chore: update the dependency of hackcqooc
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatpandac committed May 25, 2023
1 parent 4a6de9f commit 4875e75
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 40 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,22 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@master
- name: Set up Python 3.7
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.7
python-version: 3.8
- name: install pyinstaller
run: |
pip3 install pyinstaller # 可替换为自己项目的编译命令
- name: setup env
run: |
pip install --upgrade pip
pip3 install -r requirements.txt
- name: build app
run: |
pyinstaller src/app.py -F -w --add-data "assets;assets" --icon metadata/WinIcon.png
- name: build package
run: |
cd dist
Expand All @@ -60,19 +63,22 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@master
- name: Set up Python 3.7
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.7
python-version: 3.8
- name: install pyinstaller
run: |
pip3 install pyinstaller # 可替换为自己项目的编译命令
- name: setup env
run: |
pip install --upgrade pip
pip3 install -r requirements.txt
- name: build app
run: |
pyinstaller src/app.py -F -w --add-data "assets:assets" --icon metadata/MacIcon.png
- name: build package
run: |
cd dist
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
[project]
name = "fuck_cqooc"
version = "v0.0.4-beta"
version = "v0.0.5-beta"
description = "一个重庆高校在线开放课程平台刷课工具。"
authors = [
{ name = "Fatpandac", email = "i@fatpandac.com" }
]
readme = "README.md"
requires-python = ">= 3.8"
license = { text = "MIT" }
dependencies = ["hackcqooc~=0.0.8", "flet~=0.7.1", "pillow~=9.5.0"]
dependencies = ["hackcqooc~=0.0.8", "flet~=0.7.1", "pipreqs~=0.4.13"]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.rye]
managed = true
dev-dependencies = ["pre-commit~=3.3.1"]
dev-dependencies = ["pre-commit~=3.3.1", "pillow~=9.5.0"]

[tool.black]
line-length = 79
Expand Down
17 changes: 10 additions & 7 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ certifi==2023.5.7
cfgv==3.3.1
charset-normalizer==3.1.0
distlib==0.3.6
docopt==0.6.2
filelock==3.12.0
flet==0.7.1
flet-core==0.7.1
flet==0.7.4
flet-core==0.7.4
h11==0.14.0
hackcqooc==0.0.8
hackcqooc==0.0.10
httpcore==0.16.3
httpx==0.23.3
identify==2.5.24
Expand All @@ -27,21 +28,23 @@ nodeenv==1.8.0
oauthlib==3.2.2
packaging==23.1
pillow==9.5.0
pipreqs==0.4.13
platformdirs==3.5.1
pre-commit==3.3.1
pre-commit==3.3.2
pyjsparser==2.7.1
pyyaml==6.0
repath==0.9.0
requests==2.30.0
rfc3986==1.5.0
six==1.16.0
sniffio==1.3.0
tzlocal==5.0
tzlocal==5.0.1
urllib3==2.0.2
virtualenv==20.23.0
watchdog==2.3.1
websocket-client==1.5.1
websocket-client==1.5.2
websockets==10.4
yarg==0.1.9

# The following packages are considered to be unsafe in a requirements file:
setuptools==67.7.2
setuptools==67.8.0
14 changes: 8 additions & 6 deletions requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,27 @@ anyio==3.6.2
backports-zoneinfo==0.2.1
certifi==2023.5.7
charset-normalizer==3.1.0
flet==0.7.1
flet-core==0.7.1
docopt==0.6.2
flet==0.7.4
flet-core==0.7.4
h11==0.14.0
hackcqooc==0.0.8
hackcqooc==0.0.10
httpcore==0.16.3
httpx==0.23.3
idna==3.4
js2py==0.74
oauthlib==3.2.2
packaging==23.1
pillow==9.5.0
pipreqs==0.4.13
pyjsparser==2.7.1
repath==0.9.0
requests==2.30.0
rfc3986==1.5.0
six==1.16.0
sniffio==1.3.0
tzlocal==5.0
tzlocal==5.0.1
urllib3==2.0.2
watchdog==2.3.1
websocket-client==1.5.1
websocket-client==1.5.2
websockets==10.4
yarg==0.1.9
23 changes: 3 additions & 20 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
-i https://pypi.org/simple
beartype==0.11.0 ; python_full_version >= '3.7.0'
certifi==2022.9.24 ; python_version >= '3.6'
charset-normalizer==2.1.1 ; python_full_version >= '3.6.0'
flet==0.1.65
hackcqooc==0.0.8
idna==3.4 ; python_version >= '3.5'
js2py==0.74
oauthlib==3.2.2 ; python_version >= '3.6'
pillow==9.3.0
pyjsparser==2.7.1
pytz-deprecation-shim==0.1.0.post0 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5'
repath==0.9.0
requests==2.28.1 ; python_version >= '3.7' and python_version < '4'
six==1.16.0 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'
tzdata==2022.6 ; platform_system == 'Windows'
tzlocal==4.2 ; python_version >= '3.6'
urllib3==1.26.13 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5'
watchdog==2.1.9 ; python_version >= '3.6'
websocket-client==1.4.2 ; python_version >= '3.7'
flet==0.7.4
hackcqooc==0.0.10
pillow==9.5.0

0 comments on commit 4875e75

Please sign in to comment.