Skip to content

Commit

Permalink
Merge pull request #494 from loathingKernel/develop
Browse files Browse the repository at this point in the history
Packaging updates
  • Loading branch information
loathingKernel authored Dec 29, 2024
2 parents 3f452ff + 2836213 commit a184130
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 16 deletions.
1 change: 0 additions & 1 deletion .github/workflows/job_cx-freeze-appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
pip3 install -r misc/requirements.in
- name: Generate version information
run: |
pip3 install setuptools-scm
python3 -m setuptools_scm --force-write-version-files
- name: Build
run: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/job_cx-freeze-dmg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ jobs:
pip3 install -r misc/requirements.in
- name: Generate version information
run: |
pip3 install setuptools-scm
python3 -m setuptools_scm --force-write-version-files
- name: Build
run: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/job_cx-freeze-msi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
pip3 install -r misc/requirements.in
- name: Generate version information
run: |
pip3 install setuptools-scm
python3 -m setuptools_scm --force-write-version-files
- name: Build
run: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/job_nuitka-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
pip3 install -r misc/requirements.in
- name: Generate version information
run: |
pip3 install setuptools-scm
python3 -m setuptools_scm --force-write-version-files
- name: Build
run: >-
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/job_nuitka-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ jobs:
pip3 install -r misc/requirements.in
- name: Generate version information
run: |
pip3 install setuptools-scm
python3 -m setuptools_scm --force-write-version-files
- name: Build
run: >-
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/job_nuitka-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
pip3 install -r misc/requirements.in
- name: Generate version information
run: |
pip3 install setuptools-scm
python3 -m setuptools_scm --force-write-version-files
- name: Build
run: >-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/job_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install setuptools build wheel twine
pip3 install build twine
- name: Build
run: |
python3 -m build --sdist --wheel
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,14 @@ After installing Rare, if macOS complains that it is damaged, open a terminal an
```shell
sudo xattr -dr com.apple.quarantine /Applications/Rare.app
```
which will allow the application run normally.
which will allow the application to run normally.

Alternatively, you can install from `pip` or from source.
Alternatively, you can install using `pip`/`pipx` or from source.


### Latest development version

In the [actions](https://github.com/RareDevs/Rare/actions) tab you can find packages for the latest commits.
In the [actions](https://github.com/RareDevs/Rare/actions/workflows/snapshot.yml) tab you can find packages for the latest commits.

**Note**: They might be unstable and likely broken.

Expand Down
4 changes: 3 additions & 1 deletion misc/requirements-flatpak.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
requests < 3.0
# PySide6-Essentials # from flatpak
QtAwesome
setuptools
legendary-gl >= 0.20.34
setuptools-scm
legendary-gl @ https://github.com/derrod/legendary/archive/3963382b3f33116154399be5dd2d2913336a1f0e.zip
# orjson # needs the binary release, use req2flatpak
vdf
pypresence
1 change: 1 addition & 0 deletions misc/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ requests < 3.0
PySide6-Essentials
QtAwesome
setuptools
setuptools-scm
legendary-gl @ https://github.com/derrod/legendary/archive/3963382b3f33116154399be5dd2d2913336a1f0e.zip
orjson
vdf
Expand Down
File renamed without changes.
7 changes: 2 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ webview = [
"pyobjc; platform_system == 'Darwin'",
"pywebview; platform_system == 'Darwin'",
]
presence = [
discordrpc = [
"pypresence",
]
dev = [
Expand Down Expand Up @@ -83,14 +83,11 @@ namespaces = true
"rare.resources.images" = [ "Rare.ico", "Rare.icns", "Rare.png", "cover.png", "logo.png" ]
"rare.resources.languages" = [ "rare_*.qm" ]

[tool.setuptools.dynamic]
version = { attr = "rare.__version__" }

[tool.setuptools_scm]
# use only annotated tags ( omit `--tags` argument from `git describe`)
git_describe_command = [ "git", "describe", "--dirty", "--long" ]
#tag_regex = "(?P<version>^[0-9]+\\.[0-9]+\\.[0-9]+)(?P<suffix>.[0-9]+)?$"
version_scheme = "tools.version:mkversion"
version_scheme = "misc.version:mkversion"
local_scheme = "no-local-version"
version_file = "rare/_version.py"
fallback_version = "1.10.11.0"
Expand Down

0 comments on commit a184130

Please sign in to comment.