Skip to content

Commit 81f12b9

Browse files
authored
Merge pull request #23 from divmadan/fix/restructure
Restructure and remove unnecessary files
2 parents cc1ffd7 + 4293ca7 commit 81f12b9

24 files changed

Lines changed: 10 additions & 62 deletions

.github/workflows/black.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ jobs:
2828
# Format with black
2929
- name: Format with black
3030
run: |
31-
cd bindings/python
3231
black .
3332
3433
# Diff check

.github/workflows/pytest.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ jobs:
4949

5050
# Test with pytest
5151
- name: Test with pytest
52-
run: cd ${_PYTHON_BINDINGS_PATH} && pytest --junitxml=${GITHUB_WORKSPACE}/result_${{ matrix.python-version }}.xml
53-
env:
54-
_PYTHON_BINDINGS_PATH: bindings/python
52+
run: pytest --junitxml=${GITHUB_WORKSPACE}/result_${{ matrix.python-version }}.xml
5553

5654
# Artifacts
5755
- name: Upload pytest test results

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ sudo apt-get install -y libclang-11-dev python3-clang-11
2222

2323
# Demonstration
2424

25-
1. Go to `clang-bind/bindings/python/tests/test_project/` folder
25+
1. Go to `tests/test_project/` folder
2626
2. Create a build folder
2727
3. Run `cmake ..`
2828
4. Run `make -j$(nproc)`
29-
5. Run `python ../../scripts/parse.py --com ./ ../src/simple.cpp`
30-
6. Run `python ../../scripts/generate.py --com json/src/simple.json`
29+
5. Run `python ../../../clang_bind/parse.py --com ./ ../src/simple.cpp`
30+
6. Run `python ../../../clang_bind/generate.py --com json/src/simple.json`
3131

3232
The binding code will be available in `pybind11-gen/src` folder.
3333

bindings/python/README.md

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

bindings/python/scripts/__init__.py

Whitespace-only changes.

bindings/python/scripts/context.py

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

bindings/python/tests/context.py

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

0 commit comments

Comments
 (0)