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
|
||||
steps:
|
||||
- name: Prepare files
|
||||
run: |
|
||||
cat README.md | grep '^# IMCtermite' -A 50000 > python/README.md
|
||||
cp -r lib/ python
|
||||
cp -v LICENSE python
|
||||
run: python/setup.sh
|
||||
|
||||
build_wheels:
|
||||
name: Build binary wheels on ${{ matrix.os }}
|
||||
|
@ -1,4 +1,4 @@
|
||||
include *.hpp
|
||||
include lib/*.hpp
|
||||
include *.cpp
|
||||
include *.pyx
|
||||
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