Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/" # Location of package manifests
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
31 changes: 14 additions & 17 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This workflow will install Python dependencies, pyinstaller and build executable with a version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: "Biscuit Nightly Builds"
on:
push:
Expand All @@ -20,20 +17,19 @@ jobs:
with:
python-version: "3.10"

- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh

- name: Install prerequisites
run: |
sudo apt install python3-dev tcl-dev tk-dev fontconfig libfontconfig1 libfontconfig1-dev cmake cmake-data extra-cmake-modules build-essential
pip install scikit-build
sudo apt update
sudo apt install -y python3-dev tcl-dev tk-dev fontconfig libfontconfig1-dev cmake cmake-data extra-cmake-modules build-essential

- name: Install requirements
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pyinstaller
pip install .
- name: Install dependencies
run: uv sync

- name: Build biscuit
run: pyinstaller scripts/linux.spec
run: uv run pyinstaller scripts/linux.spec

- name: Upload artifacts
uses: actions/upload-artifact@v4
Expand All @@ -52,13 +48,14 @@ jobs:
with:
python-version: "3.10"

- name: Install requirements
run: |
python -m pip install --upgrade pip
pip install pyinstaller biscuit-editor
- name: Install uv
run: irm https://astral.sh/uv/install.ps1 | iex

- name: Install dependencies
run: uv sync

- name: Build biscuit
run: pyinstaller scripts/windows.spec
run: uv run pyinstaller scripts/windows.spec

- name: Upload artifacts
uses: actions/upload-artifact@v4
Expand Down
31 changes: 15 additions & 16 deletions .github/workflows/nuitka.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This workflow will install Python dependencies, pyinstaller and build executable with a version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: "Biscuit Nuitka builds (experimental)"
on:
push:
Expand All @@ -14,25 +11,27 @@ jobs:
if: contains(github.event.head_commit.message, 'nuitka')
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python 3.10
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: Install requirements
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install Nuitka
- name: Install uv
run: irm https://astral.sh/uv/install.ps1 | iex

- name: Install dependencies
run: uv sync

- name: Install Nuitka
run: uv pip install Nuitka

- name: nuitka build
run: echo Yes| python -m nuitka --include-data-dir=biscuit\\res=res --include-package-data=tkextrafont --include-package-data=sv_ttk --include-package-data=pygments --include-package-data=tkinterweb --include-package-data=mistune --follow-import-to=pygments --follow-import-to=tkextrafont --follow-import-to=mistune --follow-import-to=tkinterweb --include-package=tkextrafont --include-package=pygments --include-package=mistune --include-package=tkinterweb --include-module=pygments --include-module=mistune --include-module=tkinterweb --include-module=tkextrafont --follow-imports --standalone --enable-plugin=tk-inter biscuit
- name: Nuitka build
run: echo Yes| uv run python -m nuitka --include-data-dir=biscuit\\res=res --include-package-data=tkextrafont --include-package-data=sv_ttk --include-package-data=pygments --include-package-data=tkinterweb --include-package-data=mistune --follow-import-to=pygments --follow-import-to=tkextrafont --follow-import-to=mistune --follow-import-to=tkinterweb --include-package=tkextrafont --include-package=pygments --include-package=mistune --include-package=tkinterweb --include-module=pygments --include-module=mistune --include-module=tkinterweb --include-module=tkextrafont --follow-imports --standalone --enable-plugin=tk-inter biscuit

- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "biscuit-nuitka"
path: "biscuit.dist"

name: "biscuit-nuitka"
path: "biscuit.dist"
7 changes: 7 additions & 0 deletions config/settings.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ render_indent_guides = false
show_breadcrumbs = false
show_line_numbers = false

[ai]
default_model = "gemini-2.5-flash"

[ai.keys]

[ai.mcp_servers]

[testing]
font_size = 14
tab_size = 4
Expand Down
Loading
Loading