Skip to content

Commit c98774a

Browse files
authored
Merge pull request #1 from raidos24/main
update of features
2 parents 3dfeca1 + 1a6c4ec commit c98774a

379 files changed

Lines changed: 8588 additions & 3381 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ jobs:
114114
tests:
115115
name: Tests
116116
runs-on: ubuntu-latest
117+
env:
118+
QT_QPA_PLATFORM: offscreen
117119
strategy:
118120
matrix:
119121
python-version: ['3.10', '3.11', '3.12']
@@ -153,6 +155,8 @@ jobs:
153155
name: Build and test (${{ matrix.os }}, py${{ matrix.python-version }})
154156
runs-on: ${{ matrix.os }}
155157
needs: lint
158+
env:
159+
QT_QPA_PLATFORM: offscreen
156160
strategy:
157161
fail-fast: false
158162
matrix:
@@ -197,16 +201,5 @@ jobs:
197201
path: coverage.xml
198202
if-no-files-found: ignore
199203

200-
- name: Build distributions (sdist+wheel) if packaging configured
201-
if: >-
202-
hashFiles('pyproject.toml') != '' ||
203-
hashFiles('setup.cfg') != '' ||
204-
hashFiles('setup.py') != ''
205-
run: python -m build --sdist --wheel
206-
207-
- name: Upload dist artifacts (if any)
208-
uses: actions/upload-artifact@v4
209-
with:
210-
name: dist-${{ matrix.os }}-py${{ matrix.python-version }}
211-
path: dist/*
212-
if-no-files-found: warn
204+
# Packaging (sdist/wheel) intentionally disabled.
205+
# This project is distributed as a standalone binary, not a PyPI package.

.github/workflows/release.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- 'v*.*.*'
77
workflow_dispatch:
88

9+
env:
10+
PYCOMPILER_BINARY_BUILD_CMD: ''
11+
912
jobs:
1013
build:
1114
name: Build release artifacts (${{ matrix.os }})
@@ -33,14 +36,17 @@ jobs:
3336
run: python -m pip install -r requirements.txt
3437

3538
- name: Install build tooling
36-
run: python -m pip install build pip-licenses
37-
38-
- name: Build distributions (sdist+wheel) if packaging configured
39-
if: >-
40-
hashFiles('pyproject.toml') != '' ||
41-
hashFiles('setup.cfg') != '' ||
42-
hashFiles('setup.py') != ''
43-
run: python -m build --sdist --wheel
39+
run: python -m pip install pip-licenses
40+
41+
- name: Build binary (optional)
42+
shell: bash
43+
run: |
44+
if [ -n "${PYCOMPILER_BINARY_BUILD_CMD:-}" ]; then
45+
echo "Running binary build command: $PYCOMPILER_BINARY_BUILD_CMD"
46+
bash -lc "$PYCOMPILER_BINARY_BUILD_CMD"
47+
else
48+
echo "No binary build command configured."
49+
fi
4450
4551
- name: Generate third-party licenses (if requirements)
4652
if: hashFiles('requirements.txt') != ''

.gitignore

Lines changed: 58 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -2,49 +2,43 @@
22
__pycache__/
33
*.py[cod]
44
*$py.class
5-
experimental_file/
6-
*.bak
7-
bcasl.yml
8-
ARK_Main_Config.yml
5+
96
# C extensions
107
*.so
8+
9+
# Swap/backup files
1110
*.swp
12-
cloc
11+
*.bak
12+
1313
# Distribution / packaging
1414
.Python
1515
build/
16-
error_logs/
17-
develop-eggs/
1816
dist/
17+
*.egg-info/
18+
.eggs/
19+
*.egg
20+
MANIFEST
21+
.installed.cfg
22+
sdist/
23+
develop-eggs/
1924
downloads/
2025
eggs/
21-
.eggs/
2226
lib/
2327
lib64/
2428
parts/
25-
sdist/
2629
var/
2730
wheels/
2831
pip-wheel-metadata/
2932
share/python-wheels/
30-
*.egg-info/
31-
.installed.cfg
32-
*.egg
33-
MANIFEST
34-
clean_venv_duplicates.py
35-
force_clean_venv_files.py
36-
sys
33+
3734
# PyInstaller
38-
# Usually these files are written by a python script from a template
39-
# before PyInstaller builds the exe, so as to inject date/other infos into it.
4035
*.manifest
4136
*.spec
4237

4338
# Installer logs
4439
pip-log.txt
4540
pip-delete-this-directory.txt
46-
.blackbox/
47-
.blackboxrules
41+
4842
# Unit test / coverage reports
4943
htmlcov/
5044
.tox/
@@ -63,19 +57,19 @@ coverage.xml
6357
*.mo
6458
*.pot
6559

66-
# Django stuff:
60+
# Django
6761
*.log
6862
local_settings.py
6963
db.sqlite3
7064
db.sqlite3-journal
7165

72-
# Flask stuff:
66+
# Flask
7367
instance/
7468
.webassets-cache
7569

76-
# Scrapy stuff:
70+
# Scrapy
7771
.scrapy
78-
.kombai
72+
7973
# Sphinx documentation
8074
docs/_build/
8175

@@ -93,20 +87,16 @@ ipython_config.py
9387
.python-version
9488

9589
# pipenv
96-
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
97-
# However, in case of collaboration, if having platform-specific dependencies or dependencies
98-
# having no cross-platform support, pipenv may install dependencies that don't work, or not
99-
# install all needed dependencies.
10090
#Pipfile.lock
10191

102-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
92+
# PEP 582
10393
__pypackages__/
10494

105-
# Celery stuff
95+
# Celery
10696
celerybeat-schedule
10797
celerybeat.pid
10898

109-
# SageMath parsed files
99+
# SageMath
110100
*.sage.py
111101

112102
# Environments
@@ -117,54 +107,52 @@ venv/
117107
ENV/
118108
env.bak/
119109
venv.bak/
120-
.qodo
121-
Licence_Injector.py
122-
123-
# Spyder project settings
124-
.spyderproject
125-
.spyproject
126-
127-
# Rope project settings
128-
.ropeproject
129-
130-
# mkdocs documentation
131-
/site
132110

133111
# mypy
134112
.mypy_cache/
135113
.dmypy.json
136114
dmypy.json
137115

138-
# Pyre type checker
116+
# Pyre
139117
.pyre/
140118

141-
# pytype static type analyzer
119+
# pytype
142120
.pytype/
143121

144122
# Cython debug symbols
145123
cython_debug/
146124

147-
# PyCharm
148-
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
149-
# be added to the global gitignore or merged into this project gitignore. For a PyQt
150-
# project, see https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore
125+
# IDEs / Editors
151126
.idea/
152-
153-
# VS Code
154127
.vscode/
128+
.spyderproject
129+
.spyproject
130+
.ropeproject
131+
.qtcreator/
155132

156-
# macOS
133+
# OS files
157134
.DS_Store
158-
159-
#qtcreator
160-
.qtcreator/
161-
# Windows
162135
Thumbs.db
163136
ehthumbs.db
164137
Desktop.ini
165138

166-
# PyCompiler ARK++ specific
167-
# Compiled output
139+
# mkdocs
140+
/site
141+
142+
# Security files
143+
*.p12
144+
*.pfx
145+
*.key
146+
*.pem
147+
certificates/
148+
149+
# PyCompiler ARK specific
150+
experimental_file/
151+
cloc
152+
error_logs/
153+
logs/
154+
crash_reports/
155+
work_notes.txt
168156
output/
169157
compiled/
170158
artifacts/
@@ -174,52 +162,24 @@ artifacts/
174162
*.pkg
175163
*.deb
176164
*.rpm
177-
178-
# Configuration files (keep templates)
179165
config.json
180166
config.yaml
181167
config.toml
182168
user_preferences.json
183-
184-
# Logs
185-
logs/
186-
*.log
187-
crash_reports/
188-
work_notes.txt
169+
bcasl.yml
170+
ARK_Main_Config.yml
171+
clean_venv_duplicates.py
172+
force_clean_venv_files.py
173+
Licence_Injector.py
174+
sys
175+
.blackbox/
176+
.blackboxrules
177+
.kombai
178+
.pref/
179+
.qodo
180+
.ark/
189181

190182
# Temporary files
191183
temp/
192184
tmp/
193185
*.tmp
194-
195-
# Security files
196-
*.p12
197-
*.pfx
198-
*.key
199-
*.pem
200-
certificates/
201-
secrets/
202-
.blackbox/
203-
# SBOM and security reports
204-
sbom.json
205-
sbom.xml
206-
*-report.json
207-
security-*.json
208-
209-
# Ruff cache
210-
.ruff_cache/
211-
212-
# Pre-commit
213-
.pre-commit-config.yaml.bak
214-
215-
216-
217-
#PREFERENCE
218-
.pref
219-
.pycompiler/
220-
221-
# BCASL Configuration
222-
# Note: bcasl.json is ignored (auto-generated), but bcasl.yaml should be committed
223-
bcasl.json
224-
# acasl.json removed
225-
ideas/

0 commit comments

Comments
 (0)