diff options
| -rw-r--r-- | .github/workflows/CI.yml | 41 | ||||
| -rw-r--r-- | examples/basic_usage.py | 8 | ||||
| -rw-r--r-- | examples/custom_plugin.py | 2 | ||||
| -rw-r--r-- | src/conventionalrp/_core.pyi | 2 | ||||
| -rw-r--r-- | src/conventionalrp/core/__init__.py | 4 | ||||
| -rw-r--r-- | src/conventionalrp/extractors/__init__.py | 2 | ||||
| -rw-r--r-- | src/conventionalrp/plugins/__init__.py | 2 | ||||
| -rw-r--r-- | src/conventionalrp/renderers/__init__.py | 2 | ||||
| -rw-r--r-- | src/conventionalrp/utils/__init__.py | 2 | ||||
| -rw-r--r-- | uv.lock | 2 |
10 files changed, 53 insertions, 14 deletions
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 34d6b29..ca2f0ec 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -38,6 +38,9 @@ jobs: target: ppc64le steps: - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: 3.x - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -45,6 +48,13 @@ jobs: args: --release --out dist sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} manylinux: auto + - name: Build free-threaded wheels + uses: PyO3/maturin-action@v1 + with: + target: ${{ matrix.platform.target }} + args: --release --out dist -i python3.13t + sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} + manylinux: auto - name: Upload wheels uses: actions/upload-artifact@v4 with: @@ -66,6 +76,9 @@ jobs: target: armv7 steps: - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: 3.x - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -73,6 +86,13 @@ jobs: args: --release --out dist sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} manylinux: musllinux_1_2 + - name: Build free-threaded wheels + uses: PyO3/maturin-action@v1 + with: + target: ${{ matrix.platform.target }} + args: --release --out dist -i python3.13t + sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} + manylinux: musllinux_1_2 - name: Upload wheels uses: actions/upload-artifact@v4 with: @@ -90,12 +110,22 @@ jobs: target: x86 steps: - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: 3.x + architecture: ${{ matrix.platform.target }} - name: Build wheels uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} args: --release --out dist sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} + - name: Build free-threaded wheels + uses: PyO3/maturin-action@v1 + with: + target: ${{ matrix.platform.target }} + args: --release --out dist -i python3.13t + sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} - name: Upload wheels uses: actions/upload-artifact@v4 with: @@ -113,12 +143,21 @@ jobs: target: aarch64 steps: - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: 3.x - name: Build wheels uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} args: --release --out dist sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} + - name: Build free-threaded wheels + uses: PyO3/maturin-action@v1 + with: + target: ${{ matrix.platform.target }} + args: --release --out dist -i python3.13t + sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} - name: Upload wheels uses: actions/upload-artifact@v4 with: @@ -162,7 +201,7 @@ jobs: if: ${{ startsWith(github.ref, 'refs/tags/') }} uses: PyO3/maturin-action@v1 env: - MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} + MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} with: command: upload args: --non-interactive --skip-existing wheels-*/* diff --git a/examples/basic_usage.py b/examples/basic_usage.py index e2209da..22bfbe4 100644 --- a/examples/basic_usage.py +++ b/examples/basic_usage.py @@ -1,7 +1,7 @@ -from trpg_log_processor.core.parser import Parser -from trpg_log_processor.core.processor import Processor -from trpg_log_processor.extractors.rule_extractor import RuleExtractor -from trpg_log_processor.renderers.html_renderer import HTMLRenderer +from conventionalrp.core.parser import Parser +from conventionalrp.core.processor import Processor +from conventionalrp.extractors.rule_extractor import RuleExtractor +from conventionalrp.renderers.html_renderer import HTMLRenderer def main(): # Initialize the parser and load rules diff --git a/examples/custom_plugin.py b/examples/custom_plugin.py index 74a0bcc..5ae6581 100644 --- a/examples/custom_plugin.py +++ b/examples/custom_plugin.py @@ -1,4 +1,4 @@ -from trpg_log_processor.plugins.plugin_manager import PluginManager +from conventionalrp.plugins.plugin_manager import PluginManager class CustomPlugin: def __init__(self): diff --git a/src/conventionalrp/_core.pyi b/src/conventionalrp/_core.pyi index 4945a82..8a0cc40 100644 --- a/src/conventionalrp/_core.pyi +++ b/src/conventionalrp/_core.pyi @@ -1,3 +1,3 @@ -def sum_as_string(self, a: int, b: int) -> str: ... +def sum_as_string(a: int, b: int) -> str: ... class Base: ...
\ No newline at end of file diff --git a/src/conventionalrp/core/__init__.py b/src/conventionalrp/core/__init__.py index 7097e41..d63b2a9 100644 --- a/src/conventionalrp/core/__init__.py +++ b/src/conventionalrp/core/__init__.py @@ -1,4 +1,4 @@ -# FILE: /trpg-log-processor/trpg-log-processor/src/trpg_log_processor/core/__init__.py +# FILE: /trpg-log-processor/trpg-log-processor/src/conventionalrp/core/__init__.py """ -This file initializes the core module of the trpg_log_processor SDK. +This file initializes the core module of the conventionalrp SDK. """
\ No newline at end of file diff --git a/src/conventionalrp/extractors/__init__.py b/src/conventionalrp/extractors/__init__.py index d27a5eb..c076f07 100644 --- a/src/conventionalrp/extractors/__init__.py +++ b/src/conventionalrp/extractors/__init__.py @@ -1,4 +1,4 @@ -# FILE: /trpg-log-processor/trpg-log-processor/src/trpg_log_processor/extractors/__init__.py +# FILE: /trpg-log-processor/trpg-log-processor/src/conventionalrp/extractors/__init__.py """ This file initializes the extractors module. """
\ No newline at end of file diff --git a/src/conventionalrp/plugins/__init__.py b/src/conventionalrp/plugins/__init__.py index 32fa8a0..9f1a11b 100644 --- a/src/conventionalrp/plugins/__init__.py +++ b/src/conventionalrp/plugins/__init__.py @@ -1,4 +1,4 @@ -# FILE: /trpg-log-processor/trpg-log-processor/src/trpg_log_processor/plugins/__init__.py +# FILE: /trpg-log-processor/trpg-log-processor/src/conventionalrp/plugins/__init__.py """ This file initializes the plugins module. """
\ No newline at end of file diff --git a/src/conventionalrp/renderers/__init__.py b/src/conventionalrp/renderers/__init__.py index ce04364..7838674 100644 --- a/src/conventionalrp/renderers/__init__.py +++ b/src/conventionalrp/renderers/__init__.py @@ -1,4 +1,4 @@ -# FILE: /trpg-log-processor/trpg-log-processor/src/trpg_log_processor/renderers/__init__.py +# FILE: /trpg-log-processor/trpg-log-processor/src/conventionalrp/renderers/__init__.py """ This file initializes the renderers module. """
\ No newline at end of file diff --git a/src/conventionalrp/utils/__init__.py b/src/conventionalrp/utils/__init__.py index 20153b2..44b1840 100644 --- a/src/conventionalrp/utils/__init__.py +++ b/src/conventionalrp/utils/__init__.py @@ -1,2 +1,2 @@ -# FILE: /trpg-log-processor/trpg-log-processor/src/trpg_log_processor/utils/__init__.py +# FILE: /trpg-log-processor/trpg-log-processor/src/conventionalrp/utils/__init__.py """This file initializes the utils module."""
\ No newline at end of file @@ -172,7 +172,7 @@ wheels = [ ] [[package]] -name = "conventional-role-play" +name = "conventionalrp" source = { editable = "." } [package.dev-dependencies] |
