Skip to content

Commit 1657283

Browse files
committed
replaced setup.py by pyproject.toml
1 parent 3c11eb1 commit 1657283

File tree

2 files changed

+64
-67
lines changed

2 files changed

+64
-67
lines changed

pyproject.toml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
[build-system]
2+
requires = ["setuptools>=45", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "pygem"
7+
dynamic = ["version"]
8+
description = "Python Geometrical Morphing"
9+
readme = {file = "README.md", content-type = "text/markdown"}
10+
keywords = ["dimension_reduction", "mathematics", "ffd", "morphing", "iges", "stl", "vtk", "openfoam"]
11+
authors = [
12+
{name = "Marco Tezzele", email = "[email protected]"},
13+
{name = "Nicola Demo", email = "[email protected]"},
14+
{name = "Andrea Mola", email = "[email protected]"}
15+
]
16+
license = {text = "MIT"}
17+
classifiers = [
18+
"Development Status :: 5 - Production/Stable",
19+
"License :: OSI Approved :: MIT License",
20+
"Programming Language :: Python :: 3",
21+
"Programming Language :: Python :: 3.9",
22+
"Programming Language :: Python :: 3.10",
23+
"Programming Language :: Python :: 3.11",
24+
"Programming Language :: Python :: 3.12",
25+
"Intended Audience :: Science/Research",
26+
"Topic :: Scientific/Engineering :: Mathematics"
27+
]
28+
requires-python = ">=3.9"
29+
dependencies = [
30+
"future",
31+
"numpy>=1.21.0",
32+
"scipy>=1.7.0",
33+
"matplotlib>=3.5.0"
34+
]
35+
36+
[project.urls]
37+
Homepage = "https://github.com/mathLab/PyGeM"
38+
Documentation = "http://mathlab.github.io/PyGeM/"
39+
Repository = "https://github.com/mathLab/PyGeM"
40+
"Bug Reports" = "https://github.com/mathLab/PyGeM/issues"
41+
42+
[project.optional-dependencies]
43+
docs = [
44+
"Sphinx>=5.0.0",
45+
"sphinx_rtd_theme>=1.0.0"
46+
]
47+
test = [
48+
"pytest>=6.0.0",
49+
"pytest-cov>=3.0.0"
50+
]
51+
dev = [
52+
"Sphinx>=5.0.0",
53+
"sphinx_rtd_theme>=1.0.0",
54+
"pytest>=6.0.0",
55+
"pytest-cov>=3.0.0"
56+
]
57+
58+
[tool.setuptools]
59+
include-package-data = true
60+
61+
[tool.setuptools.packages.find]
62+
where = ["."]
63+
include = ["pygem*"]
64+
exclude = ["tests*", "docs*", "tutorials*"]

setup.py

Lines changed: 0 additions & 67 deletions
This file was deleted.

0 commit comments

Comments
 (0)