-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
85 lines (70 loc) · 2.37 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# Regarding pyproject.toml see
# - PEP 517 project metadata https://www.python.org/dev/peps/pep-0517
# - PEP 518 project metadata https://www.python.org/dev/peps/pep-0518
# - PEP 621 project metadata https://www.python.org/dev/peps/pep-0621
# First we define the build-system which we will probably alter the most
[build-system]
# TODO update this together with setup.py
requires = [
"wheel",
"setuptools>=46",
"setuptools_scm[toml]>=6.2",
]
build-backend = "setuptools.build_meta"
# Top most items are probably changed the most
[project]
requires-python = ">=3.6"
# Dependencies are forced from sisl
# So we do not need to specify numpy, netcdf etc.
# Only the ones that sisl does not specify
# This ensures that hubbard should not worry about
# dependencies
dependencies = [
"sisl>=0.12.1",
"matplotlib>=2.2.2"
]
name = "hubbard"
description = "Python package for mean-field Hubbard models"
readme = "README.md"
license = {text = "LGPLv3"}
keywords = ["tight-binding", "NEGF", "physics"]
authors = [
{name = "Sofia Sanz", email = "[email protected]"},
{name = "Thomas Frederiksen", email = "[email protected]"},
{name = "Nick Papior"},
{name = "Mads Brandbyge"}
]
maintainers = [{name="hubbard developers"}]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3", # it is allowed on all Python 3 versions
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Utilities"
]
# We purposefully get the version dynamically
dynamic = ["version"]
[project.urls]
Homepage = "https://dipc-cc.github.io/hubbard/"
Releases = "https://github.com/dipc-cc/hubbard/releases"
Documentation = "https://dipc-cc.github.io/hubbard/"
Tracker = "https://github.com/dipc-cc/hubbard/issues"
Source = "https://github.com/dipc-cc/hubbard"
[tool.pytest.ini_options]
testpaths = [
"hubbard"
]
addopts = "-rXs --durations=20"
[tool.setuptools.packages.find]
include = ["hubbard*"]
namespaces = false
[tool.setuptools.package-data]
hubbard = ["EQCONTOUR"]
[tool.setuptools_scm]
version_file = "hubbard/_version.py"
fallback_version = "0.0.0.dev"