-
Notifications
You must be signed in to change notification settings - Fork 48
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 #732 from evalf/flit
use Flit as build system
- Loading branch information
Showing
6 changed files
with
41 additions
and
58 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 |
---|---|---|
|
@@ -11,9 +11,9 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
run: python3 -m pip install setuptools wheel | ||
run: python3 -m pip install flit | ||
- name: Build package | ||
run: python3 setup.py sdist bdist_wheel | ||
run: python3 -m flit build | ||
- name: Publish package to PyPI | ||
uses: pypa/[email protected] | ||
with: | ||
|
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
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
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
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,32 @@ | ||
[project] | ||
name = "nutils" | ||
readme = "README.md" | ||
authors = [ | ||
{ name = "Evalf", email = "[email protected]" }, | ||
] | ||
requires-python = '~=3.7' | ||
dependencies = [ | ||
"appdirs~=1.0", | ||
"bottombar~=2.0.2", | ||
"numpy>=1.17", | ||
"psutil~=5.0", | ||
"stringly", | ||
"treelog>=1.0b5", | ||
] | ||
dynamic = ["description", "version"] | ||
classifiers = [ | ||
"License :: OSI Approved :: MIT License", | ||
"Topic :: Scientific/Engineering :: Mathematics", | ||
"Topic :: Scientific/Engineering :: Physics", | ||
] | ||
|
||
[project.optional-dependencies] | ||
docs = ["Sphinx>=1.8"] | ||
export_mpl = ["matplotlib>=1.3", "pillow>2.6"] | ||
matrix_mkl = ["mkl"] | ||
matrix_scipy = ["scipy>=0.13"] | ||
import_gmsh = ["meshio"] | ||
|
||
[build-system] | ||
requires = ["flit_core >=3.2,<4"] | ||
build-backend = "flit_core.buildapi" |