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
30 changes: 5 additions & 25 deletions .github/workflows/build_tests.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,12 @@
name: Run Build Tests
on:
push:
branches: [master]
pull_request:
branches: [dev]
workflow_dispatch:

jobs:
build_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: "3.14"
- name: Install Build Tools
run: |
python -m pip install build wheel
- name: Install System Dependencies
run: |
sudo apt-get update
sudo apt install python3-dev swig libssl-dev
- name: Build Source Packages
run: |
python setup.py sdist
- name: Build Distribution Packages
run: |
python setup.py bdist_wheel
- name: Install core repo
run: |
pip install .[extras]
uses: OpenVoiceOS/gh-automations/.github/workflows/build-tests.yml@dev
secrets: inherit
34 changes: 0 additions & 34 deletions .github/workflows/install_tests.yml

This file was deleted.

49 changes: 4 additions & 45 deletions .github/workflows/publish_stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,53 +6,12 @@ on:

jobs:
publish_stable:
uses: TigreGotico/gh-automations/.github/workflows/publish-stable.yml@master
if: github.actor != 'github-actions[bot]'
uses: OpenVoiceOS/gh-automations/.github/workflows/publish-stable.yml@dev
secrets: inherit
with:
branch: 'master'
version_file: 'ovos_gui/version.py'
setup_py: 'setup.py'
publish_pypi: true
sync_dev: true
publish_release: true

publish_pypi:
needs: publish_stable
if: success() # Ensure this job only runs if the previous job succeeds
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: master
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: "3.14"
- name: Install Build Tools
run: |
python -m pip install build wheel
- name: version
run: echo "::set-output name=version::$(python setup.py --version)"
id: version
- name: Build Distribution Packages
run: |
python setup.py sdist bdist_wheel
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{secrets.PYPI_TOKEN}}


sync_dev:
needs: publish_stable
if: success() # Ensure this job only runs if the previous job succeeds
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
ref: master
- name: Push master -> dev
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: dev
2 changes: 0 additions & 2 deletions MANIFEST.in

This file was deleted.

2 changes: 2 additions & 0 deletions ovos_gui/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
VERSION_BUILD = 7
VERSION_ALPHA = 1
# END_VERSION_BLOCK

__version__ = f"{VERSION_MAJOR}.{VERSION_MINOR}.{VERSION_BUILD}" + (f"a{VERSION_ALPHA}" if VERSION_ALPHA else "")
46 changes: 46 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "ovos-gui"
dynamic = ["version"]
description = "ovos-core gui service daemon"
readme = "README.md"
license = {text = "Apache-2.0"}
authors = [{name = "JarbasAi", email = "jarbasai@mailfence.com"}]
keywords = ["ovos", "gui"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
]
dependencies = [
"ovos_bus_client>=1.0.0,<3.0.0",
"ovos-utils>=0.0.37,<1.0.0",
"ovos-config>=0.0.12,<3.0.0",
"tornado~=6.0, >=6.0.3",
"ovos-plugin-manager>=0.5.5,<3.0.0",
]

[project.optional-dependencies]
extras = ["ovos-gui-plugin-shell-companion>=1.0.1,<2.0.0"]

[project.urls]
Homepage = "https://github.com/OpenVoiceOS/ovos-gui"

[project.scripts]
ovos-gui-service = "ovos_gui.__main__:main"
ovos-gui-debug-tui = "ovos_gui.tui:main"

[tool.setuptools]
include-package-data = true

[tool.setuptools.packages.find]
include = ["ovos_gui*"]

[tool.setuptools.package-data]
ovos_gui = ["res/**/*"]

[tool.setuptools.dynamic]
version = {attr = "ovos_gui.version.__version__"}
1 change: 0 additions & 1 deletion requirements/extras.txt

This file was deleted.

5 changes: 0 additions & 5 deletions requirements/requirements.txt

This file was deleted.

93 changes: 0 additions & 93 deletions setup.py

This file was deleted.

Loading