move to hatch-based build
This commit is contained in:
parent
c0bbc1f46d
commit
e2ef6d1c8d
7 changed files with 57 additions and 54 deletions
53
pyproject.toml
Normal file
53
pyproject.toml
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "meanas"
|
||||
description = "Electromagnetic simulation tools"
|
||||
readme = "README.md"
|
||||
license = { file = "LICENSE.md" }
|
||||
authors = [
|
||||
{ name="Jan Petykiewicz", email="jan@mpxd.net" },
|
||||
]
|
||||
homepage = "https://mpxd.net/code/jan/meanas"
|
||||
repository = "https://mpxd.net/code/jan/meanas"
|
||||
keywords = [
|
||||
"electromagnetic",
|
||||
"photonics",
|
||||
"simulation",
|
||||
"FDTD",
|
||||
"FDFD",
|
||||
"finite",
|
||||
"difference",
|
||||
"Bloch",
|
||||
"EME",
|
||||
"mode",
|
||||
"solver",
|
||||
]
|
||||
classifiers = [
|
||||
"Programming Language :: Python :: 3",
|
||||
"Development Status :: 4 - Beta",
|
||||
"Intended Audience :: Developers",
|
||||
"Intended Audience :: Science/Research",
|
||||
"License :: OSI Approved :: GNU Affero General Public License v3",
|
||||
"Topic :: Scientific/Engineering :: Physics",
|
||||
]
|
||||
requires-python = ">=3.8"
|
||||
include = [
|
||||
"LICENSE.md"
|
||||
]
|
||||
dynamic = ["version"]
|
||||
dependencies = [
|
||||
"numpy~=1.21",
|
||||
"scipy",
|
||||
]
|
||||
|
||||
|
||||
[tool.hatch.version]
|
||||
path = "meanas/__init__.py"
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = ["pytest", "pdoc", "gridlock"]
|
||||
examples = ["gridlock"]
|
||||
test = ["pytest"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue