-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from tataratat/ft-ci
add ci
- Loading branch information
Showing
4 changed files
with
61 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: pypi upload | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
|
||
jobs: | ||
wheel_build_full: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: build wheels and sdist | ||
run: pipx run build | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
path: ./dist/* | ||
|
||
upload_pypi: | ||
needs: [wheel_build_full] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: artifact | ||
path: dist | ||
|
||
- uses: pypa/[email protected] | ||
with: | ||
skip_existing: true | ||
user: __token__ | ||
password: ${{ secrets.PYPI_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,20 @@ | ||
# feigen - python interactive front end for iganet. | ||
# feigen - python interactive Front End for IGA ENgines. | ||
feigen is a python library for interactive spline plotting. | ||
It focues on supporting isogeometric analysis tools, such as `iganet`, `splinepy`, and `pygismo`. | ||
|
||
## Install guide | ||
you can install feigen using `pip`: | ||
``` | ||
pip install feigen | ||
``` | ||
For the latest develop version: | ||
``` | ||
pip install git+https://github.com/tataratat/feigen.git@main | ||
``` | ||
|
||
## Quick start | ||
Current version supports iganet's BSplineSurface. | ||
Assuming that you have a server running, | ||
``` | ||
python3 -c "import feigen; feigen.BSpline2D('ws://localhost:9001').start()" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import feigen | ||
|
||
if __name__ == "__main__": | ||
# feigen.log.configure(debug=True) | ||
|
||
b = feigen.BSpline2D("ws://localhost:9001") | ||
b.start() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ authors = [ | |
{name = 'Matthias Möller', email = '[email protected]'}, | ||
] | ||
readme = 'README.md' | ||
requires-python = '>=3.6' | ||
requires-python = '>=3.7' | ||
keywords = ['iganet', 'interactive'] | ||
license = {text = 'MPL 2.0'} | ||
classifiers = [ | ||
|