github workflow: build_setup: employ shell script, MANIFEST.in: include .hpp from lib
This commit is contained in:
parent
0e51c3302f
commit
3e00543028
5
.github/workflows/pypi-deploy.yml
vendored
5
.github/workflows/pypi-deploy.yml
vendored
@ -12,10 +12,7 @@ jobs:
|
|||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare files
|
- name: Prepare files
|
||||||
run: |
|
run: python/setup.sh
|
||||||
cat README.md | grep '^# IMCtermite' -A 50000 > python/README.md
|
|
||||||
cp -r lib/ python
|
|
||||||
cp -v LICENSE python
|
|
||||||
|
|
||||||
build_wheels:
|
build_wheels:
|
||||||
name: Build binary wheels on ${{ matrix.os }}
|
name: Build binary wheels on ${{ matrix.os }}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
include *.hpp
|
include lib/*.hpp
|
||||||
include *.cpp
|
include *.cpp
|
||||||
include *.pyx
|
include *.pyx
|
||||||
include *.pxd
|
include *.pxd
|
||||||
|
5
python/setup.sh
Executable file
5
python/setup.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cat README.md | grep '^# IMCtermite' -A 50000 > python/README.md
|
||||||
|
cp -r lib python/
|
||||||
|
cp -v LICENSE python
|
Loading…
x
Reference in New Issue
Block a user