|
2 | 2 | requires = ["poetry-core"] |
3 | 3 | build-backend = "poetry.core.masonry.api" |
4 | 4 |
|
5 | | -[tool.poetry] |
| 5 | +[project] |
6 | 6 | name = "z2pack" |
7 | | -version = "2.2.0" |
8 | | -description = "Automating the computation of topological numbers of band-structures.." |
9 | | -authors = [ "Dominik Gresch <[email protected]>"] |
| 7 | +version = "2.2.1" |
| 8 | +description = "Automating the computation of topological numbers of band-structures." |
| 9 | +authors = [ { name ="Dominik Gresch", email = "[email protected]" }] |
10 | 10 | license = "GPL" |
11 | 11 | readme = "README.md" |
12 | 12 | documentation = "https://z2pack.greschd.ch" |
@@ -37,33 +37,30 @@ keywords = [ |
37 | 37 | packages = [ |
38 | 38 | { include = "z2pack", from = "src" }, |
39 | 39 | ] |
| 40 | +requires-python = ">=3.9" |
| 41 | +dependencies = [ |
| 42 | + "numpy>=1.20", |
| 43 | + "scipy>=1.7", |
| 44 | + "decorator>=5.0", |
| 45 | + "blessings>=1.7", |
| 46 | + "sortedcontainers>=2.4.0", |
| 47 | + "msgpack>=1.0", |
| 48 | + "fsc.locker>=1.1.0", |
| 49 | + "fsc.formatting>=1.0.0", |
| 50 | + "fsc.iohelper>=1.0.3", |
| 51 | +] |
40 | 52 |
|
41 | | -[tool.poetry.dependencies] |
42 | | -python = ">=3.9,<3.13" |
43 | | -numpy = "^1.20" |
44 | | -scipy = "^1.7" |
45 | | -decorator = "^5.0" |
46 | | -blessings = "^1.7" |
47 | | -sortedcontainers = "^2.4.0" |
48 | | -msgpack = "^1.0" |
49 | | -"fsc.locker" = "^1.1.0" |
50 | | -"fsc.formatting" = "^1.0.0" |
51 | | -"fsc.iohelper" = "^1.0.3" |
52 | | -matplotlib = { version = "^3", optional = true } |
53 | | -tbmodels = { version = "^1.1", optional = true } |
| 53 | +[project.optional-dependencies] |
| 54 | +plot = [ "matplotlib>=3" ] |
| 55 | +tb = [ "tbmodels>=1.1" ] |
54 | 56 |
|
55 | 57 | [tool.poetry.group.dev.dependencies] |
56 | | -sphinx = "^5" |
57 | | -sphinx-rtd-theme = "^1.1.1" |
58 | | -pytest = "^6" |
59 | | -pytest-cov = "^4.0.0" |
60 | | -pre-commit = "^3.0.0" |
61 | | -pylint = "^3" |
62 | | -"ruamel.yaml" = "^0.17" |
63 | | - |
64 | | -[tool.poetry.extras] |
65 | | -plot = ["matplotlib"] |
66 | | -tb = ["tbmodels"] |
| 58 | +sphinx = ">=5" |
| 59 | +sphinx-rtd-theme = ">=1.1.1" |
| 60 | +pytest = ">=6" |
| 61 | +pytest-cov = ">=4.0.0" |
| 62 | +pre-commit = ">=3.0.0" |
| 63 | +pylint = ">=3" |
67 | 64 |
|
68 | 65 | [tool.black] |
69 | 66 | line-length = 100 |
@@ -108,6 +105,7 @@ disable = [ |
108 | 105 | "consider-using-f-string", |
109 | 106 | "use-dict-literal", |
110 | 107 | "too-many-arguments", |
| 108 | + "too-many-positional-arguments", |
111 | 109 | ] |
112 | 110 |
|
113 | 111 | [tool.pylint.design] |
|
0 commit comments