Skip to content

Commit eae9895

Browse files
committed
Refactor project structure to use "wrapper" namespace.
Renamed "radiant.compiler" to "radiant.wrapper" to better reflect its purpose and adjusted related paths accordingly. Updated `pyproject.toml` and documentation to reflect the new namespace structure and script naming. Incremented the project version to `0.1a7`.
1 parent fa623b5 commit eae9895

9 files changed

Lines changed: 6 additions & 11 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Radiant-Wrapper is a Docker image that allows you to generate APKs for Android.
1111
Pull the Docker image that includes the [Android NDK](https://developer.android.com/studio/projects/install-ndk) and [SDK](https://developer.android.com/studio):
1212

1313
```bash
14-
docker pull dunderlab/radiant_p4a
14+
docker pull dunderlab/radiant_p4a.py
1515
```
1616

1717
Then install the Python package to use the wrapper command:
@@ -25,7 +25,7 @@ pip install radiant-wrapper
2525
The `radiant_p4a` command replaces the standard `p4a` command and runs it inside the Docker container:
2626

2727
```bash
28-
radiant_p4a apk --arch arm64-v8a
28+
radiant_p4a.py apk --arch arm64-v8a
2929
```
3030

3131
### Project Types

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "radiant-wrapper"
7-
version = "0.1a6"
7+
version = "0.1a7"
88
description = "Radiant-Wrapper"
99
readme = "README.md"
1010
requires-python = ">=3.10"
@@ -42,11 +42,11 @@ dependencies = [
4242

4343
[tool.setuptools.packages.find]
4444
where = ["."]
45-
include = ["radiant"]
45+
include = ["radiant.wrapper"]
4646

4747
[tool.pytest.ini_options]
4848
asyncio_default_fixture_loop_scope = "function"
4949

5050
[project.scripts]
51-
radiant_p4a = "radiant.compiler.radiant_p4a:main"
51+
radiant_p4a = "radiant.wrapper.scripts.radiant_p4a:main"
5252

radiant/compiler/__init__.py

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

radiant/wrapper/scripts/__init__.py

Whitespace-only changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import os
44
import sys
55

6-
IMAGE = 'dunderlab/radiant_p4a:latest'
6+
IMAGE = 'dunderlab/radiant_p4a.py:latest'
77
SOURCE = os.path.abspath(os.curdir)
88
APP = os.path.split(SOURCE)[-1].replace('_', '')
99

0 commit comments

Comments
 (0)