Skip to content

Commit 246e687

Browse files
committed
Move package configuration fully in pyproject.toml
1 parent 8dbff6b commit 246e687

File tree

2 files changed

+48
-52
lines changed

2 files changed

+48
-52
lines changed

pyproject.toml

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,54 @@
11
[build-system]
2-
requires = ["setuptools>=51", "setuptools_scm>=6.3.2", "wheel"]
2+
requires = ["setuptools>=61", "setuptools_scm[toml]>=7.0"]
33
build-backend = "setuptools.build_meta"
44

5+
[project]
6+
name = "stagpy"
7+
dynamic = ["version"]
8+
description = "Tool for StagYY output files processing"
9+
readme = "README.rst"
10+
authors = [
11+
{name = "Adrien Morison", email = "[email protected]"},
12+
{name = "Martina Ulvrova"},
13+
{name = "Stéphane Labrosse"},
14+
]
15+
maintainers = [
16+
{name = "Adrien Morison", email = "[email protected]"},
17+
]
18+
license = {file = "LICENSE"}
19+
urls = {homepage = "https://github.com/StagPython/StagPy"}
20+
classifiers = [
21+
"Development Status :: 3 - Alpha",
22+
"Intended Audience :: Science/Research",
23+
"License :: OSI Approved :: Apache Software License",
24+
"Programming Language :: Python :: 3 :: Only",
25+
"Programming Language :: Python :: 3.7",
26+
"Programming Language :: Python :: 3.8",
27+
"Programming Language :: Python :: 3.9",
28+
"Programming Language :: Python :: 3.10",
29+
]
30+
requires-python = ">=3.7"
31+
dependencies = [
32+
"loam>=0.7.0,<0.8.0",
33+
"f90nml>=1.3.1",
34+
"setuptools_scm>=6.3.2",
35+
"numpy>=1.19",
36+
"scipy>=1.5",
37+
"pandas>=1.3",
38+
"h5py>=3.1",
39+
"matplotlib>=3.3",
40+
]
41+
42+
[project.scripts]
43+
stagpy = "stagpy.__main__:main"
44+
45+
[tool.setuptools.packages.find]
46+
include = ["stagpy"]
47+
namespaces = false
48+
49+
[tool.setuptools.package-data]
50+
stagpy = ["py.typed", "_styles/stagpy-*.mplstyle"]
51+
552
[tool.setuptools_scm]
653
write_to = "stagpy/_version.py"
754

setup.cfg

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

0 commit comments

Comments
 (0)