cleanfig 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,41 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ pull_request:
6
+
7
+ jobs:
8
+ test:
9
+ name: Test on ${{ matrix.os }} / Python ${{ matrix.python-version }}
10
+ runs-on: ${{ matrix.os }}
11
+
12
+ strategy:
13
+ fail-fast: false
14
+ matrix:
15
+ os: [ubuntu-latest, macos-latest]
16
+ python-version: ["3.10", "3.11", "3.12"]
17
+
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+
21
+ - name: Set up Python
22
+ uses: actions/setup-python@v5
23
+ with:
24
+ python-version: ${{ matrix.python-version }}
25
+
26
+ - name: Set up Rust
27
+ uses: dtolnay/rust-toolchain@stable
28
+
29
+ - name: Install Python tools
30
+ run: |
31
+ python -m pip install -U pip
32
+ python -m pip install maturin pytest numpy
33
+
34
+ - name: Build wheel
35
+ run: maturin build --release -o dist
36
+
37
+ - name: Install built wheel
38
+ run: python -m pip install dist/*.whl
39
+
40
+ - name: Run tests
41
+ run: pytest -q
@@ -0,0 +1,87 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+ workflow_dispatch:
8
+
9
+ jobs:
10
+ build-sdist:
11
+ name: Build sdist
12
+ runs-on: ubuntu-latest
13
+
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+
17
+ - uses: actions/setup-python@v5
18
+ with:
19
+ python-version: "3.12"
20
+
21
+ - name: Install maturin
22
+ run: |
23
+ python -m pip install -U pip
24
+ python -m pip install maturin
25
+
26
+ - name: Build source distribution
27
+ run: maturin sdist -o dist
28
+
29
+ - name: Upload sdist artifact
30
+ uses: actions/upload-artifact@v4
31
+ with:
32
+ name: cleanfig-sdist
33
+ path: dist/*
34
+
35
+ build-wheels:
36
+ name: Build wheel ${{ matrix.os }} / ${{ matrix.target }}
37
+ runs-on: ${{ matrix.os }}
38
+
39
+ strategy:
40
+ fail-fast: false
41
+ matrix:
42
+ include:
43
+ - os: ubuntu-latest
44
+ target: x86_64
45
+ - os: macos-latest
46
+ target: universal2-apple-darwin
47
+
48
+ steps:
49
+ - uses: actions/checkout@v4
50
+
51
+ - name: Build wheels
52
+ uses: PyO3/maturin-action@v1
53
+ with:
54
+ target: ${{ matrix.target }}
55
+ args: --release --out dist --find-interpreter
56
+ manylinux: auto
57
+
58
+ - name: Upload wheel artifacts
59
+ uses: actions/upload-artifact@v4
60
+ with:
61
+ name: cleanfig-${{ matrix.os }}-${{ matrix.target }}
62
+ path: dist/*
63
+
64
+ publish:
65
+ name: Publish to PyPI
66
+ needs:
67
+ - build-sdist
68
+ - build-wheels
69
+ runs-on: ubuntu-latest
70
+
71
+ permissions:
72
+ id-token: write
73
+ contents: read
74
+
75
+ steps:
76
+ - name: Download distributions
77
+ uses: actions/download-artifact@v4
78
+ with:
79
+ pattern: cleanfig-*
80
+ merge-multiple: true
81
+ path: dist
82
+
83
+ - name: Show distributions
84
+ run: ls -lh dist
85
+
86
+ - name: Publish to PyPI
87
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,25 @@
1
+ .DS_Store
2
+ __MACOSX/
3
+ __pycache__/
4
+ *.py[cod]
5
+ .pytest_cache/
6
+ .mypy_cache/
7
+ .ruff_cache/
8
+ .ipynb_checkpoints/
9
+
10
+ .venv/
11
+ venv/
12
+
13
+ build/
14
+ dist/
15
+ target/
16
+ *.egg-info/
17
+ *.so
18
+
19
+ examples/output/
20
+ compare/
21
+ backups/
22
+
23
+ *.zip
24
+ *.tar
25
+ *.tar.gz
@@ -0,0 +1,8 @@
1
+ # Changelog
2
+
3
+ ## 0.1.0
4
+
5
+ - Initial public repository cleanup for GitHub release preparation
6
+ - Rust/Python `maturin` package layout normalized
7
+ - Fallback Python backend retained with explicit limitations
8
+ - Added examples, smoke tests, release checklist, and CI workflows