Skip to content

Commit 6c77bb1

Browse files
authored
Merge pull request #268 from JdeRobot/remove-outdated-code
Remove outdated code and convert to python package
2 parents 91b5691 + 2aabad4 commit 6c77bb1

83 files changed

Lines changed: 503 additions & 1504 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.
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# This workflow will upload a Python Package to PyPI when a release is created
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
3+
4+
# This workflow uses actions that are not certified by GitHub.
5+
# They are provided by a third-party and are governed by
6+
# separate terms of service, privacy policy, and support
7+
# documentation.
8+
9+
name: Upload Python Package
10+
11+
# on:
12+
# release:
13+
# types: [published]
14+
15+
on:
16+
workflow_dispatch:
17+
18+
permissions:
19+
contents: read
20+
21+
jobs:
22+
release-build:
23+
runs-on: ubuntu-latest
24+
25+
steps:
26+
- uses: actions/checkout@v4
27+
28+
- uses: actions/setup-python@v5
29+
with:
30+
python-version: "3.10"
31+
32+
- name: Build release distributions
33+
run: |
34+
# NOTE: put your own distribution build steps here.
35+
python -m pip install build
36+
python -m build
37+
38+
- name: Upload distributions
39+
uses: actions/upload-artifact@v4
40+
with:
41+
name: release-dists
42+
path: dist/
43+
44+
pypi-publish:
45+
runs-on: ubuntu-latest
46+
needs:
47+
- release-build
48+
permissions:
49+
# IMPORTANT: this permission is mandatory for trusted publishing
50+
id-token: write
51+
52+
# Dedicated environments with protections for publishing are strongly recommended.
53+
# For more information, see: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules
54+
environment:
55+
name: pypi
56+
# OPTIONAL: uncomment and update to include your PyPI project URL in the deployment status:
57+
url: https://pypi.org/p/robotics_application_manager
58+
#
59+
# ALTERNATIVE: if your GitHub Release name is the PyPI project version string
60+
# ALTERNATIVE: exactly, uncomment the following line instead:
61+
# url: https://pypi.org/project/YOURPROJECT/${{ github.event.release.name }}
62+
63+
steps:
64+
- name: Retrieve release distributions
65+
uses: actions/download-artifact@v4
66+
with:
67+
name: release-dists
68+
path: dist/
69+
70+
- name: Publish release distributions to PyPI
71+
uses: pypa/gh-action-pypi-publish@release/v1
72+
with:
73+
packages-dir: dist/

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Byte-compiled file
22
__pycache__/
3-
/.idea
3+
.idea/
44

55
# IDEs
66
.vscode

.idea/.gitignore

Lines changed: 0 additions & 8 deletions
This file was deleted.

client_libraries/comms_manager.js

Lines changed: 0 additions & 170 deletions
This file was deleted.
62.1 KB
Binary file not shown.
53 KB
Binary file not shown.

manager/comms/consumer.py

Lines changed: 0 additions & 106 deletions
This file was deleted.

manager/libs/__init__.py

Whitespace-only changes.

manager/libs/applications/__init__.py

Whitespace-only changes.

manager/libs/applications/brain_exercise.py

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)