-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.cfg
116 lines (97 loc) · 2.53 KB
/
setup.cfg
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[metadata]
name = lattpy
description = Simple and efficient Python package for modeling d-dimensional Bravais lattices in solid state physics.
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/dylanljones/lattpy
author = Dylan Jones
author_email = dylanljones94@gmail.com
license = MIT
license_files = LICENSE
classifiers =
Development Status :: 3 - Alpha
Intended Audience :: Science/Research
Topic :: Scientific/Engineering :: Physics
Natural Language :: English
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
project_urls =
Source = https://github.com/dylanljones/lattpy
Documentation = https://lattpy.readthedocs.io/
Tracker = https://github.com/dylanljones/lattpy/issues
[options]
packages = find:
install_requires =
setuptools>=60.0.0
setuptools-scm[toml]>=4
numpy>=1.20.3
scipy>=1.7.1
matplotlib>=3.0.0
pytest>=6.2.5
hypothesis>=6.0.0
colorcet>=2.0.0
python_requires = >=3.7
include_package_data = True
platforms = any
zip_safe = False
[options.extras_require]
build =
wheel>=0.37.0
test =
pytest-cov
[aliases]
test=pytest
[build_sphinx]
project = "LattPy"
source-dir = ./docs/source
build-dir = ./docs/build
[pydocstyle]
add-ignore = D105 # ignore undocumented dunder methods like ``__str__`
[flake8]
max-line-length = 88
ignore = D203
extend-ignore = E203
per-file-ignores = __init__.py:F401
exclude =
.git,
.idea,
__pycache__,
build,
dist,
lattpy/tests/*,
docs/*,
_version.py,
[coverage:run]
branch = False
source = lattpy
[coverage:report]
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain about debug-only code and print statements:
def __repr__
def __str__
# Don't complain about abstract methods
@abstract
# Ignore properties. These are usually simple getters
@property
# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError
# Don't complain if non-runnable code isn't run:
if 0:
if __name__ == .__main__.:
ignore_errors = True
# Skip source files:
omit =
lattpy/tests/*
lattpy/__init__.py
lattpy/plotting.py
lattpy/disptools.py
lattpy/_version.py